Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
development:git [2020/02/27 14:25]
kalenpw created
— (current)
Line 1: Line 1:
-====== Git ====== 
  
----- 
-===== push to repo other than origin ===== 
-<code bash> 
-git push --no-verify --mirror git@github.com:isuwebcom/Work 
-</code> 
- 
----- 
-===== Branches and Merging ===== 
-  - ''git checkout -b development'' or whatever your branch name is 
-  - make your changes in development branch 
-  - ''git add .'' 
-  - ''git commit -m "developed feature x"'' 
-  - ''git push origin development'' 
-  - when ready to merge, still on dev branch 
-  - ''git merge master'' should be clean, but gives you an opportunity to fix it 
-  - ''git checkout master'' should be clean again since we did above fix 
-  - ''git merge development'' 
-  - ''git push'' 
- 
----- 
-===== Multi line commit ===== 
-<code bash> 
-git commit -m "Line one" -m "line two" -m "etc" 
-</code>