Tag: github

git rebase messy devel branch

I have a devel branch on Github with 1500 commits and they need to be rebased into perhaps 50 commits to closer resample features. The commits are messy in that, one feature wasn’t developed fully before new commits came from another feature. Rebasing and fixing indentation will have to be done collaboratively. Some of the […]

Identifying 'upstream' merge commits, not from within a fork

I am trying to identify pull request merge commits in the git history. We can normally use something like: git log –merges |grep ‘Merge pull request’` However, I am part of a distributed project with several repository forks, and have found that pull request merge commits that were part of the fork’s development stream are […]

How do i get the list of Reviewers for a pull request using Github api?

I need the list of reviewers for a PR and the Review Requests API present in github only provides me requested reviewers which becomes empty once the reviewers have accepted their respective invitations . I also tried the Reviews API to get all reviews and then get unique users but that seems to be only […]

Jenkins build only for develop branch

I have a Jenkins pipeline job which uses a Jenkinsfile stored in the repo. I have enabled the github webhook in the Github enterprise hosted repo. At the moment the job is triggered every time a git push is sent to any branch in the repo. We are only looking for it to be triggered […]

Is there a way to see what pending pull requests affect a particular file?

There is a large open source project that I would like to make changes to. With thousands of pull requests already pending, its hard to know whether someone hasn’t already made similar changes. I can try to search for issues based on a keyword, but I’ll likely overlook pull-requests that made changes to the file. […]

Git workflow for multiple projects based on my own seed project?

I’m creating a seed project (for myself) which I will use as a base for multiple other projects. After searching for best practices for doing this I have found a few useful strategies. But I’m not convinced which strategy to use and I don’t feel like I have a complete solution; a workflow that explains […]

git migrate from LFS to normal repo

There is LFS git repository hosted at Bitbucket server. Now we do not need LFS. How to migrate from git LFS repository back to normal repository? If repo with LFS – there are “pointers” instead of files in the commits. And if I need to remove LFS – I should use files instead of “pointers”. […]

Is it possible to undo changes in a particular file in a commit in Git Web UI?

I know it is possible to make changes in a file in GitHub Web UI. But if I want to revert changes in a particular file in a commit, is it possible to do it in the Web UI of GitHub?

How to avoid re-formatting of file in GitHub browser editor?

I am trying to edit a file in a project on GitHub online on the browser editor by clicking the pencil icon on top-right corner of the file. The issue is, as soon as the browser opens the file for editing, if I click on Preview Changes without even making any changes to the file, […]

How to check pods project into same repository as main project xcode 7?

I am trying to add git to an existing xcode project. The project directory contains the actual project as well as the project generated by cocoapods. My directory looks like this. MyProject – MyProject.xcworkspace – MyProject.xcodeproj – Other project files – podfile – .git – Pods – Alamofire etc – Pods.xcodeproj – .git Xcode source […]

Git Baby is a git and github fan, let's start git clone.