How can I use Git locally?

You only need to push if you want to use a remote server.

When working locally, you still need to git init to set up the repository, but after that you only need to do the steps

git add
git commit -m "new commit"

to save (“commit”) your changes.

Don’t git push at all, and don’t git pull — there’s no remote to sync changes with (git push and git pull just push and pull changes from the remote/online repository).

Type:

git log

To see that your changes have been recorded.

Leave a Comment

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş