... | @@ -36,4 +36,13 @@ if you have uncommitted code, then you have several options but let's stick to j |
... | @@ -36,4 +36,13 @@ if you have uncommitted code, then you have several options but let's stick to j |
|
- `git commit -am "post code commit"`
|
|
- `git commit -am "post code commit"`
|
|
- `git push`
|
|
- `git push`
|
|
|
|
|
|
Now you are free to change branch to master (and pull) or to keep editing code. |
|
Now you are free to change branch to master (and pull) or to keep editing code.
|
|
\ No newline at end of file |
|
|
|
|
|
### Tips
|
|
|
|
Howto install blender addons from github with one command. Usage `LNaddon git@github.com:nortikin/sverchok.git`
|
|
|
|
for ~/src directory blender 2.9:
|
|
|
|
```
|
|
|
|
alias LNaddon='{ read -r url&&cd ~/src&&git clone $url&&bn=$(basename $url .git)&&cd $bn&&d=$(pwd)&&us=$(users)&&ln -s $d /home/$us/.config/blender/2.93/scripts/addons/&&echo "2.93 linked" ;} <<< '
|
|
|
|
```
|
|
|
|
If you do not want to commit changes and not need them, than discard:
|
|
|
|
`git checkout -- .` |