plugins,github,zsh,zshrc,oh-my-zsh , Oh My Zsh - how to use GitHub plugin?

Oh My Zsh - how to use GitHub plugin?


Tag: plugins,github,zsh,zshrc,oh-my-zsh

Just enabled github plugin in .zshrc:

plugins=(… guthub …)

After this autocomplete works fine, when I press tab I see:

enter image description here

But then, if, I try to run actual command, e.g.

github create test-repo

I'm getting

zsh: command not found: github

Until now I used simple plugins only with aliases and I'm sure that I'm missing something here :)


The github plugin contains this comment:

# in order to make this work, you will need to have the github gem installed

So to use it you'll need to install Ruby, then gem install github.


how to update my github library with an existing fork?

my friend forked my library and worked on it, but the old version appears on my Github page. Now can I show the new master? ...

Eclipse extension point for Open Resource/Open Type dialogs

Is there an extension point where I can customize the search behavior of these dialog boxes? Or am I better off making an extensions that just overrides those hotkeys with dialog boxes that subclass FilteredResourcesSelectionDialog?...

How to include a commit in a tag after the tag was already created

I had tagged my branch for release and then another commit was made that needs to be included in the tag. How can I do that ? What are the steps? Can someone explain please ?...

Using GitHub API to determine if the last commit to master was a result of a merged pull request?

We use GitHub flow as branching strategy which means that anything in master is the result of a merged pull request. It's trivial to get the last commit by doing the following. GET However it seems non-trivial to work out the pull request that caused this commit. Is it...

Github: forking loop

I'm still very new to coding and Github and as such am a little confused with how forking repos works - so please forgive what may be a basic question. I've been working on a project with different pair partners all week and my current code base situation is as...

Push changes to branch github

I have a project with three branches. I've made changes to the project,but when I try to update my branch (alexander), nothing happens online. It only says Everything up-to-date. I tried git add ., git commit and git push and nothing happend. So how can I update my branch? Here...

My .gitignore file is not working

I've been trying everything I can think of and I've read all the StackOverflow posts about this issues, yet I can't seem to fix it. The issue here is that I 1. created a repo (test) , which git is tracking 2. Inside my test folder, I have a .gitignore...

How to pull files and only override conflicts

How can I pull down a git and have it overwrite my local project ONLY where conflicts are found? E.g. I have many folders / files in my local project that are not on the git project and never will be. Ok... here is the full scenario. I used DaftMonk...

How to inactivate an eclipse plug-in without uninstall it?

How to inactivate an plug-in in Eclipse Kepler SR2 without uninstalling it? I have a plug-in for Android, which is pretty big and causes eclipse starting slow. But I need the plug-in on some other projects. In Help -> About Eclipse > Installation Details -> Installed Software, there is only...

need wordpress plugin to show 3 type of different kind of text, image and 2 buttons

I have slider image on page in "featured work" section. I need plugin to create dynamic slider like image in section.I use many sliders like cyclone-slider but they show only title, description and image.

Git submodule fail because of link to unexisting revision

I've got a problem with git submodules pull: I have two reporistories, let's call them repo A and repo B. Repo B is a submodule of repo A, so I added repo B as a submodule of A with this command line: git submodule add [email protected]:Aracthor/B.git libvvgl But when I...

Minecraft plugin sign reading

I've got problem trying to get values of sign lines in minecraft plugin. Here is my code: package pl.maccraft.regssal; import; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.block.Sign; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.Action; import org.bukkit.event.block.SignChangeEvent; import org.bukkit.event.player.PlayerInteractEvent; public final class rgs...

Fix git branch after another developer did a reset

We 2 developers are working on a branch. I did 2 commits, and pushed them, and we later decided we didn't want them anymore. I did git reset -i <sha> to the sha before the 2 commits, and then force pushed it to the branch on github. The other developer...

Managing git repos

I am new to git and am unsure of a few things, would really appreciate if someone could answer the below questions. So I own 2 private git repos. Repo1 has numerous developers contributing. Repo2 is only for me. I want to be able to basically take a copy Repo1,...

See previous commit in Github

After searching my git log for an old commit, I take its full hash paste it into my browser as and so I can see that commit in Github. Now I want to see the previous commit in Github, but I can't find a way to navigate into it....

choose authentication for git pull

I want to add a second form of authentication to a github remote. Here is the situation : I have ssh access to a shared server In the server, there is a git repository, with a github remote. If I run git pull, it asks for a passphrase that I...

Linking to another html page on Github

I've tried to search for a solution to this but wasn't quite sure how to phrase my problem in google in a concise way to obtain a solution. I'm rather new to Html and git hub and recently I made my own Github page with my own html code. In...

How to point branch to master after rebase complete

I am not very much clear about git rebase workflow, I try my self to rebase two different branches as mention below. But I am not able to update my branch to where master is pointing after rebase completed. Below are the steps which I performed git clone git...

How to make a discourse plugin available for public posts?

I've developed a discourse plugin successfully. However, I need to be logged in into discourse in order to see the plugin working. Any ideas?...

Implementing one page scroll by Pete R

Im not good with jquery, js, scripts overall and i´m trying implementing this onepagescroll puglin by Pete R. but till now no sucess. Thinks i´ve done: body { margin: 0; font-family: 'Open Sans', Helvetica, sans-serif; min-width: 900px; } .header { background-image: url("img/fundo1.jpg"); background-size: cover; background-color: rgb(21, 21, 21); color:...

How to release binaries on Github for different plattforms as seperate downloads?

I found this at github Their page provide a way to attach binaries to a special release. My build script compiles binaries for Windows MacOS and Linux. How to supply seperate downloads for different platforms there? AS far I can see these releases are simple git tags. Is it...

How to create a paypal form display in github README

What I am trying to do is, Display the paypal donation form into github project file Using the html markdown display it as html rather than rendering the button with form. HTML // here goes the html of the paypal form any thoughts ?...

Can git ever send your code to a repo that isn't yours?

Can running git add . git commit -m "message" in a git repo which you've initialized using git init ever result in your code being sent to a repo that is not yours? I am concerned because I did this while not logged in to my git hub account....

How to use Library from GitHub in android App

I downloaded this library to use in my app, however, I can't get Android Studio to do the gradle build now. Anytime I try, I get "error:configuration with name 'default' not found". I've tried several other StackOverflow answers, but I still can't compile. My dependencies (from build.gradle Module: app) dependencies...

Import jQuery Plugin with JSPM

I'm trying to import the jQuery plugin jQuery.scrollTo with JSPM. So far I installed it with jspm install npm:jquery.scrollto and now I'm trying to import it with import $ from 'jquery'; import scrollTo from 'jquery.scrollto'; Now I'm only getting $(...).scrollTo is not a function errors. I tried to shim it,...

Why doesn't “go get…” work while “go get…” OK?

I try to use go get to install pool according to, but can't success: C:\Users\xiaona\Documents\GitHub> go get -v Fetching https fetch failed. Fetching import "": http/https fetch: Get l.v2?go-get=1: dial tcp ConnectEx tcp: A connection attempt failed because the connected party did not...

Pull request within one project/branch?

Suppose C(=Coder) and S(=Supervisor) are working on a project. For some reasons S never contributes to the codes and just comments on the code. Instead C is the only person coding. Is it possible to send pull request by C to be reviewed by S, within one project, or they...

Messed up a merge when trying to upgrade my Laravel application

I have an existing laravel project which used an older version of Laravel 5.1. I wanted to upgrade my project to use Laravel 5.1.2. I followed this tutorial. So I added the laravel/laravel github repository into my git project as a remote called laravel, fetched it, then I created a...

Link to download latest version tag of a repository from GitHub

I want to make download link for latest version of my application from GitHub tags. But I can not use GitHub releases, only just tags to make the new version. So I want an universal link to the latest tag zipball. I already did that with jQuery and GitHub API,...

git branch - local or what?

I ran the following commands: (we have a staging branch called "master_next") (1) git fetch origin (2) git checkout -b origin/master_next now, when I run (3) git branch I see some weird stuff. Instead of seeing master master_next I see master origin/master_next why is the branch I just checked out...

Keep config file secure using github and Elastic Beanstalk?

I am using github (public) to keep track of my web app and about to deploy it to Elastic Beanstalk. Is there a good way to keep my config file secure which has RDS username/password? I have to add the file to git in order to push it to Elastic...

Why store the function on the element using data()?

I am trying to understand some code from the Swipebox plugin. There is a function declared. $.swipebox = function( elem, options ){ // plugin Jquery codes.. } Now this codes below I really do not understand. What is the main purpose of this code? Why does it save function to...

git add file to archive

When I run this command, the files of my latest commit are saved to a ZIP. git archive -o ../ HEAD However the files in node_modules and build/ are missing. That Is because my .gitignore is the following one: node_modules build/ How can I ignore files, but Include them In...

git fork from certain tag version - requirements.txt

I want to fork one github project code, but not from master branch, but from older release. Reason: I want to edit one place in the code in my fork version and put the url of this tag version into my requirements.txt so that pip install -e git+https://git_url_to_my_form_in_this_tag_version works. I...

can I display asciidoc document in github?

Am I able to display an asciidoc file on github in the same way that I can currently view a markdown file? According to this blog entry, I should be able to do this: If you’re interested in using AsciiDoc, head over to GitHub and create a new file in...

How is a branch different from a folder, in a GitHub repository?

I'm new to GitHub, and I don't exactly understand what a branch is. I got a feeling it is like a folder. Please explain: what exactly is the difference between folder and a branch?

Get list of changed files from remote server git

Is there a hook that gives the file name as soon as someone commits their change and merges with master from remote server? . I basically want to get a trigger that someone has updated a file on remote repo. Details like what file has been changed.

How to clone a public GitHub repository recursively without authentication?

I am trying to deploy an application from GitHub into a test server. I have created a new user in the server to own the local repository and run the application. Later on this user should also perform a daily pull from the repository automatically. I am able to run...

Deploy closed source aar maven repo to github

I am using the following guide to publish a closed source aar as maven repo on github: The github repo I am publishing to: In my file I have: repositories { maven { url "" } } dependencies { compile 'com.adscendmedia.sdk:adscendmedia:1.0.1' } However Android studio results in...

.gitignore File Not Working With Bonobo

I set up a Bonobo Git server in IIS and have it working on my local computer. However, the .gitignore file is not working. I'm using the GitHub Windows client and this ignore file. I want the bin and obj folders ignored, but they are showing up as changed folders...

Trying to understand git upstream branch

I have a git project. The remote only have a master branch, at local I have a master and proj-structure branch. I created the proj-structure branch using 'git branch -b proj-structure'. I am currently at proj-structure branch at local, when I try to git push, the git suggests me to...

Advantages/disadvantages to branches and forks

I am currently working on a project via a fork of the main repo. I am committing my changes to <fork>/master and then submitting pull requests to <upstream>/master. I have write permission for <upstream>. Am I correct in thinking that I could make this simpler by deleting my fork and...

How to quickly format programming codes in the GitHub's Issue?

If I create an issue with some codes in the gitHub, how to format it? I have to add more white spaces again and again...... Is there anything like what we can see in the StackOverFlow by clicking "Code Sample" button?...

Where is git command after installing “GitHub for Windows”? [closed]

After installing GitHub for Windows, I can use git command in Powershell directly: C:\Users\xiaona\Documents\GitHub> git usage: git [--version] [--help] [-C <path>] [-c name=value] [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path] [-p|--paginate|--no-pager] [--no-replace-objects] [--bare] [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>] <command> [<args>] The most commonly used git commands are: add Add file contents to the index bisect...

Associate git repo with existing fork network

Using GitHub Enterprise, I forked a private repo. I then made the upstream repo public, which broke the 'fork' relationship between the public upstream and my private personal fork (as noted here). I've now also made my copy of the repo public. As far as I can tell, I can...

How do I put my index.html in the same folder as my other .html files on github?

So I just started web development an began building my portfolio. Although most of my content is on the same page and most links redirect to different websites, I do have one link that redirects to a different page of my website. So the content changes but the navigation bar...

How to deal with forked gems and bundle

I've forked a gem and it is hosted on Github. Then, in Gemfile this is what I've got: gem 'mongoid-scroll', git: '' Whenever I make changes to the gem using Pry gem-opem command, changes are saved under the following directory: /Users/borjagvo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/ruby/2.1.0/bundler/gems/ Some things confuse me: 1) In this directory there...

How to push local git repo to remote branch?

I have got new design project in localhost and I have gotten github account with old design. I want to upload it to new branch. I create new branch with web interface on the github "new-design". I create local git repo: #git init I add the remote repo: #git remote...

Can i use font-awesome in android's edittext?

I have added font-awesome .tff file to the assets folder, initlaized some of the icons in the strings.xml file, changed the typefaces of the entities i will use font-awesome in and tried using font-awesome on buttons and it worked, but i did the same for edittexts but there are strings...

Contributing to open source project on github

I want to add translation and a bugfix on open source project on github. I had installed git, forked the project, cloned the fork on my harddrive, changed the permissions of the file(needed to do so I can test the changes), then created a new branch called "Bulgarian_language", then added...