desktop1:
mkdir gitrepo
cd gitrepo
git init
git config --bool core.bare true
laptop:
git clone [email protected]:/home/desktop
cd gitrepo
vi readme
add readme
commit readme
git push
desktop1: I could not see the files here.
desktop2: I cloned to anoter 3rd system with the same as above command and I can see the file in 3rd system but not in the repository where I pushed.
So, how to update files in destop1 with the local changed files.
git clone --bare <remote-uri>
. – user456814