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.

how change remote git branch tracking?


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -