This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
linux:git [2019/11/21 19:42] – [Basic usage] tmade | linux:git [2020/06/05 10:05] – [Basic usage] tmade | ||
---|---|---|---|
Line 51: | Line 51: | ||
</ | </ | ||
- | Remote git: | + | ===Remote git=== |
eval $(ssh-agent -s) | eval $(ssh-agent -s) | ||
Line 59: | Line 59: | ||
git remote | git remote | ||
git remote -v | git remote -v | ||
+ | git remote remove origin | ||
git add . #or "git add kubeadm-config.yaml" | git add . #or "git add kubeadm-config.yaml" | ||
git commit -m " | git commit -m " | ||
- | git push gitlab master | + | git push gitlab master |
+ | git pull origin master |