Trace: git

git

Back  
 Next

This is an old revision of the document!


back  
 next

git

To install in Debian: sudo apt install git

In directory to be made into git: git init

To save files to staging file: git add . or individual files

To commit files: git commit -m 'change description of save progress' To see log of all commits: git log To revert to an earlier branch: git checkout “save code”. Note this will create a new branch, from the earlier time line. git checkout -b new-branch will create and switch to a new branch =====github===== Create a github account Create a new repository “ github give instructions on how to push from you local git to git hub” git remote add origin httpsgithub.com/yourhandle/name.git''

back  
 next
/app/www/public/data/attic/tech_notes/git.1676371659.txt.gz · Last modified: 2023-04-30 Sun wk17 17:44
CC Attribution-Share Alike 4.0 International Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International