How not to affect the original cloned git repository -
i have cloned repository , in there .git directory. i'm worried if commit, commit original repository , don't want happen. there way can it, not affect original repository i've cloned from.
thanks in advance.
edit: did maintain repository below:
cd /path/to/my/local_repo git remote add origin my_repo_link git push -u origin --all
you affect original or remote repository if use push
command.
git different svn in have complete local repo. can commit
repo want because different repo. when push
asking local repo svn style commit
of whatever have changed in local repo remote (original) repo.
if want clone 1 repo , push different remote repo you'll need change remote branch local branch pointed at.
Comments
Post a Comment