Follow me
-
Recent Posts
calendar
December 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Recent Comments
- Stan on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- Cormac on Pandas : how to compare dataframe with None
- LP on AWK: the substr command to select a substring
- jrab on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- How to disable SSL verification for urlretrieve? – Peter's blog on python: certificate verified failed
Archives
Categories
Meta
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
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
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
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
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
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
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
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