Posts

Showing posts with the label git

Digital Marketing

Showing Git Remotes

To see which remote servers you have configured, you can run the git remote command. You can also specify -v, which shows you the URLs that Git has stored for the shortname to be used when reading and writing to that remote: $ git remote -v

How to export a git log

To export a git log to a file: $ git --no-pager log --after= "2013-9-1" --before= "2014-8-31" --author= " goyun.info " > /tmp/ goyun.info .txt Add --all if you intend to search all branches and not just the current commit's ancestors in your repo. You can also easily match on multiple authors as regex is the underlying mechanism for this filter. So to list commits by nextruby.com or goyun.info , you can do this: git log --author="\(nextruby\.com\)\|\(goyun\.info\)" Formatting Log Output First, this article will take a look at the many ways in which  git log ’s output can be formatted. Most of these come in the form of flags that let you request more or less information from  git log . If you don’t like the default  git log  format, you can use  git config ’s aliasing functionality to create a shortcut for any of the formatting options discussed below. Please see in  The git config Command  for how to set up an alias. Oneline The  --...

How to Blog on GitHub Pages

GitHub Pages can be websites for you and your projects. GitHub Pages are hosted directly from your GitHub repository. Just edit, push, and your changes are live. You get one site per GitHub account and organization, and unlimited project sites. First you need to create a repository. Head over to GitHub and create a new repository named username.github.io , where username is your username (or organization name) on GitHub. Then clone your repository: git clone https://github.com /username/username.github.io http:// username.github.io is your new  GitHub Pages  website. You can use your own custom domain. Just create a file named CNAME and include your URL. Read more . Using Jekyll , you can blog using beautiful Markdown syntax, and without having to deal with any databases. Learn how to set up Jekyll . Example GitHub page: http://github. goyun.info / More Guides https://pages.github.com/

How to set up Jenkins to access your remote Git repository

Put repository url for example git@github.com:goyun.info/AmazonSESExampleByJavaMail.git as your Git  repository url. Then you need to add your Jenkins public ssh key to your Git repository server. You could make it read only. You also need to add your Git repository server for example git.goyun.info to your Jenkins account's known_hosts file.

How to Change Git commiter in Netbeans

USER-HOME\.netbeans\version#\config\Preferences\org\netbeans\modules\git.properties lastUsedCommitViewMode=HEAD_VS_WORKING_TREE org.netbeans.modules.git.ui.commit.GitCommitPanel=443.0#237.0#794.0#576.0 recent_guri.0=git.goyun.info:goyun.info.git<=~=><=~=>0<=~=>1<=~=>D:\\download\\goyun.info recentCommitAuhtors.0=goyun.info <super@ goyun.info> recentCommiters.0=goyun.info <super@goyun.info> recentCommitMessage.0=log4j removeAllNew=false removeWTNew=false revertAll=true revertIndex=false revertWT=false name=goyun.info email=superman@ goyun.info