git remote – Přidat vzdálený repositář

  $ git init $ git remote add origin https://uzivatel@bitbucket.org/Projekt/repo.git $ git remote -vorigin https://uzivatel@bitbucket.org/Projekt/repo.git (fetch)origin https://uzivatel@bitbucket.org/Projekt/repo.git (push)

git commit – Obnova staršího commitu

  1. přejit do branche, ze které se má obnovit starší commit git checkout master 2. vytvořit zálohu branche, např git checkout -b master zaloha/master-20170313 3. vrátit se do původní branche git checkout master 4.…