Tmux update
parent
152d824dd0
commit
cb361ea516
11
GIT.md
11
GIT.md
|
@ -22,3 +22,14 @@ modified: '2021-12-14T21:13:05.655Z'
|
||||||
git reset -- path/to/folder
|
git reset -- path/to/folder
|
||||||
git checkout -- path/to/folder
|
git checkout -- path/to/folder
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### List all branches
|
||||||
|
* local: `git branch`
|
||||||
|
* remote: `git branch -r`
|
||||||
|
* remote & local: `git branch -a`
|
||||||
|
|
||||||
|
You can also add `-v` flag to increase verbosity to get more details about listed branches.
|
||||||
|
|
||||||
|
### Switch to remote branch that is not on local computer
|
||||||
|
|
||||||
|
`git switch <branch_name>`
|
||||||
|
|
3
tmux.md
3
tmux.md
|
@ -24,3 +24,6 @@ modified: '2021-12-05T22:46:14.308Z'
|
||||||
- `ctrl+b space` - toggle pane layouts
|
- `ctrl+b space` - toggle pane layouts
|
||||||
- `ctrl+b !` - convert pane into a window
|
- `ctrl+b !` - convert pane into a window
|
||||||
- `ctrl+b x` - kill current pane
|
- `ctrl+b x` - kill current pane
|
||||||
|
|
||||||
|
## Rename pane :)
|
||||||
|
`ctrl+b ,`
|
||||||
|
|
Loading…
Reference in New Issue