Tag Archives: git

git error solved: The remote end hung up unexpectedly

Sometimes, when you clone a git repository you may end up with a fatal error “The remote end hung up unexpectedly”. For instance, typing this git command to clone a repository of mine: git clone https://github.com/sequana/sequanagit clone https://github.com/sequana/sequana led to … Continue reading

Posted in Linux | Tagged | Leave a comment

git : How to remove a big file wrongly committed

I added a large file to a git repository (102Mb), commited and push and got an error due to size limit limitations on github remote: error: GH001: Large files detected. You may want to try Git Large File Storage – … Continue reading

Posted in Computer Science | Tagged , | 5 Comments

git and github : skip password typing with https

if you clone a github repository using the https:// method (instead of ssh), you will have to type your username and passwor all the time. In order to avoid having to type you password all the time, you can use … Continue reading

Posted in Computer Science | Tagged | Leave a comment

git error: cannot do a partial commit during a merge.

After a pull command, I ended up with a conflict in a file, which I fixed by manually editing the file (search for the

Posted in Computer Science | Tagged | 3 Comments

How to update a forked repository (github)

I followed those steps and it worked like a charm using github interface assuming there was no changes between the fork and main repository Open your fork on GitHub. Click on Pull Requests. Click on New Pull Request. By default, … Continue reading

Posted in Software development, Uncategorized | Tagged , | 1 Comment

Moving from SVN to git: $Id:$ equivalent

In SVN (and CVS), you could include special strings such as $Id:$$Id:$ and after a commit, the revision number would appear after “Id:”, which was a convenient way to retrieve the revision for instance in a print statement. Apparently, with … Continue reading

Posted in Software development, Uncategorized | Tagged | 1 Comment

migrating a SVN sub-directory to GIThub

Follow-up on a previous about migrating an entire SVN repository to github keeping the history: For a sub-directory within a SVN, you should use git svn clone svn+ssh://path/to/repo/ –trunk=trunk/directory –branches=branches/*/directory –tags=tags/*/directorygit svn clone svn+ssh://path/to/repo/ –trunk=trunk/directory –branches=branches/*/directory –tags=tags/*/directory without the –stdlayout … Continue reading

Posted in Computer Science | Tagged , | Leave a comment

GIT tutorial

I finally decided to use GIT for one of my new project. I know this sounds odd given that everybody nowadays seems to use it… Having used SVN for a while the transition should be smooth though. There are a … Continue reading

Posted in Software development | Tagged | Leave a comment