update
fixed error on 'git branch' and added ' git checkout', removed irrelevant info on 'git pull'
This commit is contained in:
@@ -2,10 +2,13 @@ Welcome to my self hosted git server
|
||||
|
||||
things you should know about git:
|
||||
- git branch
|
||||
- Used to chack and change which branch you are on. Each repo will have a set of branches, main should be the primary branch where everything is tested that it works before hand,any secondary branches are to write code before pushing it to main so that you have a place to store it publicly
|
||||
- Used to check branchs you are on, and to create/delete them. Each repo will have a set of branches, main should be the primary branch where everything is tested that it works before hand, any secondary branches are to write code before pushing it to main so that you have a place to store it publicly
|
||||
|
||||
- git checkout
|
||||
- Used to change which branch you are on.
|
||||
|
||||
- git clone
|
||||
- Used to grab a initial install of a repo. When doing the "git clone git@server:Username/Repo" command it is important to note that you will not always start off on the branch that you have write access too, for simplicity check which branch you are on first
|
||||
- Used to grab a initial install of a repo.
|
||||
|
||||
- git commit
|
||||
- Used to commit which changes you want to push to the server.
|
||||
|
||||
Reference in New Issue
Block a user