Sunday 14 January 2024

General GIT usage for forgetful old GITs

 create repository on github website


git clone https://github.com/yourname/repository


copy your files into repository/


git add eachfile.cc


git config --global user.email "youremail" (add you login email)


git commit -a (commit the changes locally)


git status (check the status of your changes)


git push (commit to the remote server)


For Vim recall : Entering Editing Mode in Vim Editor - GeeksforGeeks

No comments:

Post a Comment