User Tools

Site Tools


git

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
git [2016/06/16 12:26] javapimpgit [2023/08/18 18:15] (current) – external edit 127.0.0.1
Line 6: Line 6:
  
 ==== Create a new branch from current changes ==== ==== Create a new branch from current changes ====
 +
 +This will create the new branch. When the branch is created, it will be active with the changes from the old branch. Switching back to the old branch will no longer show the changes.
  
 <code> <code>
Line 32: Line 34:
 To git@github.com:<repository>.git To git@github.com:<repository>.git
  - [deleted]         <branchName>  - [deleted]         <branchName>
 +</code>
 +
 +If someone already deleted the remote branch, synchronize your local branch list with:
 +
 +<code>
 +$ git fetch --prune
 </code> </code>
  
git.1466079963.txt.gz · Last modified: 2023/08/18 18:15 (external edit)