update
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
Welcome to my self hosted git server
|
Welcome to my self hosted git server
|
||||||
|
|
||||||
things you should know about git:
|
things you should know about git:
|
||||||
- Branches
|
- git branch
|
||||||
- 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 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
|
||||||
|
|
||||||
- git clone
|
- git clone
|
||||||
- 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. 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
|
||||||
|
|
||||||
- git commit
|
- git commit
|
||||||
- The main method for seeing if your copy of the repo/branch is updated or not. you can make commits locally and the server will also keep track of commits
|
- Used to commit which changes you want to push to the server.
|
||||||
|
|
||||||
- git add
|
- git add
|
||||||
- Locally logs which files you are going to try to commit
|
- Locally logs which files you are going to try to commit
|
||||||
|
|||||||
Reference in New Issue
Block a user