Reputation: 11
I have downloaded in Windows libray LIB and edited it to suit my needs ie adding some usefull functions that I would like to share with original libraty author.
How ever it seams that I must install some Cygwin in order to have github pull request working and I don't want that.
I want directly to upload my version to orginal repository via browser without needed to login into github and doing all that nasty cloning and such.
Ideally I would like to send with zip my verison of the lib that would create oo the fly new branch to orginal repo and make pull request to master.
Is this possible in github?
Upvotes: 1
Views: 1782
Reputation: 1328282
Ideally I would like to send with zip my version of the lib
This is not what Git (source control manager) and GitHub (Git repository hosting service) are for.
If you are modifying sources (from the zip archive), you should contribute back to the source repository of that library, through a GitHub fork of said sources.
Again, Git is about managing sources (mostly text files), not artifacts (like a zip of sources).
Artifacts are stored in artifact manager (like Nexus or Artifactory)
If you want to push back to GitHub, you would be pushing back text files, not a aip archive.
How ever it seams that I must install some Cygwin in order to have github pull request working
No: a pull request is entirely done on the server side, through the web GUI, on your fork.
I want directly to upload my version to original repository via browser without needed to login into github and doing all that nasty cloning and such.
You only can push back to your fork, not to the original repo. See "Git fork is git clone?"
Once pushed, you can then create a pull request.
So if you haven't already done so:
git checkout -b aNewBranch
(this doesn't change any file, it just creates a new branch to isolate your changes)git push origin aNewBranch
Then, on the web interface on your fork, select that 'aNewBranch
' and create a pull request from there.
See also those "couple of tips for Pull Requests".
Upvotes: 1