GIT tips and tricks: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Remove directory == <code>git rm -r --cached foldername</code> == References == <references />") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Display progress == | |||
<code>git add --verbose .</code> | |||
== Push new branch to server == | |||
<syntaxhighlight lang="bash"> | |||
#Push your new branch to server | |||
#On new branch computer or node | |||
$git push -u origin new-branch | |||
#On server, verify the new branch | |||
git pull --all | |||
Git branch -a # user should be able to show the new-branch | |||
</syntaxhighlight> | |||
== Remove directory == | == Remove directory == | ||
<code>git rm -r --cached foldername</code> | <code>git rm -r --cached foldername</code> |
Latest revision as of 17:23, 18 May 2024
Display progress
git add --verbose .
Push new branch to server
#Push your new branch to server
#On new branch computer or node
$git push -u origin new-branch
#On server, verify the new branch
git pull --all
Git branch -a # user should be able to show the new-branch
Remove directory
git rm -r --cached foldername