Off the record

Aller au contenu | Aller au menu | Aller à la recherche

lundi 11 septembre 2017

Git

Git clone abc/def/something.git

git status

git checkout -b my-branch

# some edits

git status

git add my-file-to-commit

git status // tells you in which branch you're working and changes

git commit // commits what is to be comitted

git push origin my-branch // pushes changes from my-branch to the original repo

git status

Docker and continuous deployment workshop

https://github.com/gogits/gogs/tree/master/docker

docker volume ls

docker ps -a

docker start

docker stop