Tag: github

jekyll server on but not regenerating

I am in powershell and I command jekyll serve –watch. It gives this output: PS C:\Users\kyle\Programming\GitHub\AwesomeIncU> jekyll serve –watch Configuration file: C:/Users/kyle/Programming/GitHub/AwesomeIncU/_config.yml Source: C:/Users/kyle/Programming/GitHub/AwesomeIncU Destination: C:/Users/kyle/Programming/GitHub/AwesomeIncU/_site Generating… done. Auto-regeneration: enabled When I just say jekyll serve it gives this: PS C:\Users\kyle\Programming\GitHub\AwesomeIncU> jekyll serve Configuration file: C:/Users/kyle/Programming/GitHub/AwesomeIncU/_config.yml Source: C:/Users/kyle/Programming/GitHub/AwesomeIncU Destination: C:/Users/kyle/Programming/GitHub/AwesomeIncU/_site Generating… done. Configuration file: C:/Users/kyle/Programming/GitHub/AwesomeIncU/_config.yml […]

How to get commits from another user in git and apply on top of mine?

I have 2 users in git working from a common repository but then making separate changes in their own local machine. User 1 : — Commit 1 –> Commit 2 –> Commit 3 User 2 : — Commit 1a —> Commit 2b –> Commit 3b If I am user 2, How do I apply all […]

repo:master and repo1:master are identical

I am getting the above message when I am trying to open a pull request from a fork of a main repository back through into the main repository. Why am I getting the above? Yes there are changes in the repo1 repository/fork

Unable to checkout git directory

I am trying to clone a git subdirectory https://github.com/graphlab-code/graphlab/src … I am trying to checkout only src subdirectory mkdir git-src cd git-src git init git config core.sparsecheckout true echo graphlab/src/ >> .git/info/sparse-checkout git remote add origin https://github.com/graphlab-code/graphlab git pull origin master The above code doesnt seem to copy the subdirectory src. kindly assist

Git pull request multiple branches but other branch'es commits were added

I created branch victor-boos-833, worked on it, then push to origin as a new branch, then made a pull request. I then created another branch victor-order-error-code from master (I think), worked on it, then push to origin as a new branch. The problem is, changes in victor-boos-833 which has not been merged, were also shown […]

Sync AND Pull in a Git Repo

My interest is this: I’d like to set up a single homework repository to share with my students. The repository contains templates, specifications, and unit tests. Students derive from this repository, complete their homework, and push their changes for grading. This past year I did this using Bitbucket. I created a public Git repository containing […]

How to manage pull requests when forking a fork?

Consider my fork of a github project (MY). it’s forked from upstream (US): US -fork–> MY:master I have made some fixes in local branches (fixA and fixB), and made pull requests of those branches to US. The pull requests are still waiting to be merged in US. I’ve already merged them to MY:master since I […]

Why does git phantom modification disappear after I edit .gitattributes

This is really weird. I have a project, lets call it project X. I push project X to github. I then check it out on a different machine. I type git status and I see this: modified: test/bower_components/mocha/media/logo.svg What? I diff it, and it looks exactly the same. One possibility is that this is a […]

ERROR: Permission to user/bnr.git denied to user/IntroductionToIosProgramming?

I am trying to push changes to my new repository and I see error as ➜ xcode git clone git@github.com:hhimanshu/bnr.git Cloning into ‘bnr’… remote: Counting objects: 3, done. remote: Total 3 (delta 0), reused 0 (delta 0) Receiving objects: 100% (3/3), done. Checking connectivity… done. ➜ xcode cd bnr ➜ bnr git:(master) vi README.md ➜ […]

Git branch detached automatically on EC2

I have couple of production systems running on ubuntu EC2 instances. Last night I was deploying some patch to the production but github error ed out saying “branch detached”. I am wondering how did it happen. Whats the reason for that? Also, how do I avoid such things in the future?

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