User Tools

Site Tools


newdevs:git:commands

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
Next revisionBoth sides next revision
newdevs:git:commands [2021/06/10 12:07] – [Squash Commits] tmccannanewdevs:git:commands [2022/10/24 11:51] – [Rebase] tmccanna
Line 57: Line 57:
  
   - Open the git branch   - Open the git branch
-  - Type: git rebase origin/master --> rebases the current branch to master+  - Type: git rebase -i origin/master --> rebases the current branch to master, the -i makes it interactive
   - If there are merge conflict errors, type: git status   - If there are merge conflict errors, type: git status
   - Open the file with the problem in your preferred text editor (notepad++, vim, nano, etc.)   - Open the file with the problem in your preferred text editor (notepad++, vim, nano, etc.)
Line 118: Line 118:
   * '':w'' --> saves your work   * '':w'' --> saves your work
   * '':wq'' --> saves & closes   * '':wq'' --> saves & closes
 +  * '':set number'' --> turns on line numbers
 +  * ''?abc'' --> searches for occurrences of 'abc'
  
  
newdevs/git/commands.txt · Last modified: 2024/03/25 16:35 by tmccanna

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.