I have a git-bare
repository location under x:/Archivos Python/EPPTRA2.git/
and all the team is pulling and pushing changes from this repository. /x
is a shared disk within our office network.
Not enough space
However recently I had to push many big files and found there isn't enough space.
$ git push
Counting objects: 1077, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1073/1073), done.
remote: fatal: write error: Not enough space
fatal: sha1 file '<stdout>' write error: Broken pipe
error: failed to push some refs to 'x:/Archivos Python/EPPTRA2.git/'
What I want to achieve
I would like to move the git-bare
repository to another location, lets say /s/EPPTRA.git/
which is within other shared network disk with enough space. And then update my team mates' local repositories to ensure they point to the new git-bare
repository location.
Questions
How can I change the git-bare
repository location?
How can I push my last commit to the new git-bare
repository location?
Which are the steps I need to do after so all my team mates point to the git-bare
repository new location?
I'm looking for commands from git-bash
in order to perform these tasks.