ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
ä¼ç¤¾ãå¦æ ¡ã®ä¸ã«ããå ´åãã¤ã³ã¿ã¼ãããã¸ã¢ã¯ã»ã¹ããéã«ãProxy(ãããã·)çµç±ã§ã®ã¢ã¯ã»ã¹ã¨ãªãã·ã¼ã³ãããè¦ãããã®ã§ã¯ãªãã§ããããã ãã®å ´åãã¤ã³ãã©ãããå ããåæ£åãã¼ã¸ã§ã³ç®¡çã·ã¹ãã (åæ£SCM)ã§ããgitã使ã£ãå¤é¨ã¢ã¯ã»ã¹ã¯é£ãããç¹ã«ãµã¼ãå´ãgit-daemonã§ç¨¼åãã¦ããå ´åã¯ãgitãããã³ã«(git://)ã§ã®ã¢ã¯ã»ã¹ã¨ãªããHTTP Proxyçµç±ã§ã®ã¢ã¯ã»ã¹ã«ã¯ã³ããå¿ è¦ã¨ãªãã¾ãã ã¨ãããã¨ã§ãProxyè¶ãã«ãã£ã¬ã³ã¸ãã¦ã¿ããã¨ã«ãã¾ãã Corkscrewã®ã¤ã³ã¹ãã¼ã« ã¾ããHTTP Proxyãµã¼ããéãã¦ãã³ããªã³ã°ã§ãããCorkscrewããå©ç¨ãã¾ãã # apt-get install corkscrewç§ã¯ãDebian使ãã§ãã®ã§ããµã¯ã£ã¨aptã§ã¤ã³ã¹ãã¼ã«ãã¾ããã ããã§ã¯ãªãå ´åããä»ããã±ã¼ã¸ç®¡çã·ã¹ãã ã§
以ågitã§ä¸åº¦è¡ã£ãå¤æ´ããªãã£ããã¨ã«ããæ¹æ³4ã¤ãç´¹ä»ãã¾ãããã æ¥å¸¸çã« git ã使ç¨ãã¦ããã¨ä»ã«ãæ§ã 㪠ããªãã£ããã¨ã«ãããããå ã«æ»ãããã ã¨ããç¶æ³ã«ééãã¾ãã ãã®ã²ã¨ã¤ã²ã¨ã¤ã«ã¤ãã¦å¯¾å¦æ¹æ³ãç´¹ä»ãã¦ããã¾ãã ç®æ¬¡ åé¡1: ã©ã¤ãã©ãªã®æ°æ©è½ã試ãããã«ããããé©å½ãªã³ã¼ããæ¸ãã¦ã¿ããã§ãããè¦ããªããåé¡2: ãããã¯ãã©ã³ãããã¼ã¸ãããã©å®ã¯ã¾ã ä¸å®å ¨ã ã£ãããã¼ã¸ãããç´ããããåé¡3: ãªãªã¼ã¹å¾ã«çºè¦ãããã°ãåå ã¯30æ¥åã«èªåãè¡ã£ãã³ãããã ã£ãããªãã£ããã¨ã«ããããåé¡4: æ°ããã³ããããããã¨ãã¦ééãã¦git commit âamendã§æ¸ãæãã¦ãã¾ã£ããå ã«æ»ããããåé¡5: è²ã ä½æ¥ãã¦ãããä½æ¥ãã£ã¬ã¯ããªã®å 容ãæ··æ²ã¨ãã¦ãããä¸åº¦ç¶ºéºãªç¶æ ã«ããããåé¡6: ä½æ¥ãã£ã¬ã¯ããªã«ã´ããã¡ã¤ã«ãæºã¾ã£ã¦ãããä¸åº¦ç¶ºéº
ãã®ãã¥ã¼ããªã¢ã«ã§ã¯ git ã«æ°ããããã¸ã§ã¯ãã½ã¼ã¹ãã¤ã³ãã¼ãããæ¹æ³ã¨ã ããã«å¤æ´ãå ããæ¹æ³ãããã¦ä»ã®éçºè ã¨å¤æ´ãå ±æããæ¹æ³ã説æãã¾ãã ããããªãã®ä¸»ãªç®çãããã¸ã§ã¯ãã®å¤æ´ãåå¾ãããã¨ã§ãããªã (ä¾ãã°ææ°ãã¼ã¸ã§ã³ã®ã½ã¼ã¹ãåå¾ãã¦ãã¹ããããªã©)ã Git ã¦ã¼ã¶ããã¥ã¢ã« ã®æåã®ï¼ç« ããå§ããæ¹ã è¯ãããããã¾ããã ã¾ãæåã«ãããã¥ã¢ã«ã®åç §æ¹æ³ã説æãã¾ããä¾ãã° "git log" ã³ãã³ãã®ããã¥ã¢ã« ã¯ä»¥ä¸ã®æ¹æ³ã§åå¾ã§ãã¾ãã
ä¸ã¶æåã®ç¶æ ã確èªããããï¼ ã£ã¦ããã¨ã㯠git checkout HEAD@{30.days.ago}ã§ã30æ¥åã®ç¶æ ã«æ»ããã¨ãã§ããã ãã¨ã«æ»ãæã¯ã使ã£ã¦ãããã©ã³ããæå®ããã¨è¯ãæ°ãããã git checkout mastergitè¯ãããã£ã¦ãªãã®ã§æ£ããç解ã§ãã¦ãæ°ãããªããã©ã
â [git] ã©ã®æ®µéã§æ··å ¥ããã®ãå ¨ãåãããªããã°ãçºçããã®ã§ãgit bisectã使ã£ã¦ã¿ã æ°ã¥ããããBiwaSchemeã®makeãéããªãç¶æ ã«ãªã£ã¦ããã java -jar bin/yuicompressor-2.4.2.jar lib/biwascheme.js -o lib/biwascheme-min.js [ERROR] 16082:51:invalid property id [ERROR] 1:0:Compilation produced 1 syntax errors. æ°æ¥åã¾ã§ã¯éã£ã¦ãããã ãã©ãããããçµæ§ãªåæ°ã³ããããè¡ã£ãã®ã§ãã©ããåå ãªã®ãåãããªãã ã§ã大ä¸å¤«ããããªæãã(åå¨ã¯ç¥ã£ã¦ãããã©ä½¿ãæ©ä¼ã®ãªãã£ã)git bisectã使ããã£ã³ã¹ã ã git bisectã¯ããOKãªã³ããããã¨ãNGãªã³ããããã®2ç¹ã®éãäºå
æè¿magit.elã使ãå§ãããã ãã©ãdiffã®è²ãç½é»ã ã£ãã®ã§å¤ãããªãããªã¼ã¨æã£ã¦ããããdeffaceã§å®ç¾©ããã¦ããã®ã§å¤ãã¦ã¿ãã次ã®è¨å®ãæ¸ãã¦ããã¨è¿½å ããè¡ãç·è²ã«ãªãã (set-face-foreground 'magit-diff-add "green") ã¡ãªã¿ã«deffaceã¯ä»¥ä¸ã®ããã«è¨å®ãã¡ã¤ã«ã«æ¸ãã¦ããã¨å¤ãããã¿ãããhttp://d.hatena.ne.jp/kitokitoki/20090816/p5ãåèã«ããã (set-face-foreground 'yas/field-highlight-face "coral") (set-face-background 'yas/field-highlight-face "black") (set-face-underline-p 'yas/field-highlight-face t)
emacsä¸ã§git使ãæã«ããããã®ããã³ãã¨ã³ãã«ãmagitãããã¾ãã NSEG Gitåå¼·ä¼ #3 - ã¢ã¼ã°ã«ã¨ã«ãã¨ãã¦ãã¼ã®æ¥è¨ http://d.hatena.ne.jp/stealthinu/20101216/p1 magitå°å ¥ãã¦ãæ®éã«ä½¿ããã®ã§ãããpushãä¸æããããªãã¨ããåé¡ãèµ·ãã¾ããã èªåã¯ãgithubã«pushããã¨ãã«ãã¹ãã¬ã¼ãºãå¿ è¦ã¨ããããã«keyãä½ã£ãã®ã§ããããã¹ãã¬ã¼ãºå ¥åã«å¯¾å¿ããä½ãã«ãªã£ã¦ããªããããããã§æ¢ã¾ã£ã¦ãã¾ãã®ã§ãã ããããããã£ã¦ã¿ãã¨magitã®MLã§2009å¹´æ«ã«ã¯ããã«å¯¾å¿ããããããæ¸ãã¦ãã人ããã¾ããã How to enter ssh passphrase when pushing remote branches - magit | Google Groups http://groups.go
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
Wikiã¨ãããã®ã¯ã¨ã¦ã便å©ãªãã ãã©ã 大éã®æç« ãæ¸ãã«ã¯Webãã©ã¦ã¶ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯ã¾ã ã¾ã è¾ã ãªãã©ã¤ã³ã§ä½¿ããªã(æç« æ¸ãã®ã¯é»è»ãä¸çª) è¤æ°ã®æç« ãåæ§æããããä¸æ¬ã§æ¤ç´¢ããããç½®æãããã¯ãWebã ã¨ãã£ã±ããã³ãã ã¨è¨ã£ãæ¬ ç¹ãããã ã¨ã¯è¨ãã誰ã§ãæ°è»½ã«ç·¨éã§ããWikiã®é åãæ¨ã¦ãããã ããã§ããWikiã§ã¯ãããã ãã©ããã¼ã«ã«ã§ãèªåã®å¥½ããªã¨ãã£ã¿ã§ç°¡åã«ç·¨éã§ãããã¼ã«ãªãããªã¼ãã¨æ¢ãã¦ã¿ããã Gitit ã¨ããWikiãçºè¦ããã ããæ°æ¥ãçµæ§ãªéã®ããã¥ã¡ã³ããGititã§æ¸ãã¦ã¿ã¦ãããã¨æºè¶³ãã¦ããã®ã ãã©ãæ¤ç´¢ãã¦ãGititã®æ¥æ¬èªã®æ å ±ããã¾ãåºã¦ããªãã®ã§ç´¹ä»ãã¦ã¿ãã Gititã®ç¹å¾´ ã³ã³ãã³ããGitã®ã¬ãã¸ããªã«ä¿åããã ãã®GItã¬ãã¸ããªãcloneãã¦å¥½ããªããã«ããã£ã¦ããcommit/pushããã°
ããã«ã¡ã¯ãã¤ã³ãã©ãã£ã¦ã sotarok ã§ããæè¿ã社å ã§ããsotarok 㯠ãã¼ããã£ãã¨èªããã¨ãã誤解ãåºãã£ã¦ãã¾ããã®ã§æ¹ãã¦èªå·±ç´¹ä»ãã¾ãã¨ãsotarok ã¨æ¸ãã¦ããã¼ããã¼ãã¾ãã¯ããã¼ããã¼ã»ãã¼ãã¨èªã¿ã¾ããããã¯ãã¦ãªãã®ã§ãããããé¡ããã¾ãã ä»æ¥ã¯ãGit ã®è©±ã§ãã GREE ã§ã¯ãã£ã¨ Subversion ã使ã£ã¦ããã¨ãã話ãã以åéçºç°å¢ã®è©±ãããã¨ãã«å°ã触ãããã¨ãããã¾ããSubversion ã§ã®éç¨æ¹æ³ããGREE ã§ã¯å²ã¨é¢ç½ãéç¨ããã¦ããã®ã§ãã®è©±ãã©ããã§ãããã®ã§ãããã¾ããããã¯ä»åã¯ç½®ãã¦ããã¾ããããã©ããã§èãã¦ãã ããã GREE ããã®æ CVS ãã Subversion ã«ç§»ã£ãã®ã§ãããæ代ã¯æµãããã®ã§ããããã Git åã¨ããæµãããã¦ãã¾ããSubversion 㨠Git ã®éããä»æ´ããã¦æ
Git is a distributed version control system invented by Linus Torvalds that stores data in a file system made up of snapshots of a project over time. It allows developers to work collaboratively by tracking changes to files and coordinating code changes between team members or branches of development. Git uses a client-server model with local repositories that can be pushed to and pulled from remo
Gitã§ééã£ãã³ãããããªã¢ã¼ããªãã¸ããªã« push ãã¦ãã¾ã£ãå¾ã«ããããç¡ãã£ããã¨ã«ããã«ã¯ããªã¢ã¼ãå´ã§ã®ä½æ¥ãå¿ è¦ã ã¨æã£ã¦ããã®ã§ããããã¼ã«ã«ããã®æä½ã§ãã§ãããã¨ãããã£ãã®ã§åå¿é²çã«æ¸ãã¦ããã¾ãã 次ã®ç¶æ ã«ããã¨ãã¾ããã¢ã«ãã¡ãããã¯ã³ãããã ã¨æã£ã¦ãã ããã ãªã¢ã¼ã: A-B-C master ãã¼ã«ã«: A-B-C-D masterãã¼ã«ã«ã§å¤æ´ãå ãã¦Dã®ç¶æ ã«ãªã£ã¦ãã¾ãã git push ããã¨æ¬¡ã®ããã«ãªãã®ã§ããã ãªã¢ã¼ã: A-B-C-D master ãã¼ã«ã«: A-B-C-D masterããã§ãD ã¯ééãã ã£ãã¨æ°ã¥ãã¾ããã ãªã¢ã¼ããªãã¸ããªã® master ã®ããã¯ã¢ããç¨ã®ãã©ã³ããä½ãã¾ããããã¯å¿ é ã§ã¯ããã¾ãããã念ã®ããã % git push origin master:master_bakããã§æ¬¡ã®ç¶æ ã«
web application éçºã«ããã git ã®ãã©ã³ãéç¨ã«ã¼ã« 俺ã¯æ®æ®µããããéç¨ã§ãã£ã¦ããããåã¯ã©ããã 社å ã® trac ã«ããã¥ã¡ã³ãããããã®ã§ãã³ãããã¦ãããgit ã«ã¤ãã¦ã¯ã«ã¸ã¥ã¢ã«ã«ã¤ãã£ã¦ãã ããªã®ã§ããã£ã¨ããããã»ãããããããããã®ã¨ããã®ãããã°ãããã¦ãã ããã ãã©ã³ãå½åè¦å master æ¬çªã® deploy ç¨ã誰ãã« deploy ããã¦ãã¾ããã®ã¯ãããªãã stg ã¹ãã¼ã¸ã³ã°ã® deploy ç¨ iss(\d+) ãã±ãã$1 ç¨ã® topic branchãmaster ããåå²ããã ãã®ä»ããã£ã³ãã¼ã³é¢ä¿ãªã©ãããããããããè ã¯å¥éååã¤ãã¦ãããã stg ã®éç¨ åºæ¬çã«ãéçºã¯ãã±ããã«ã²ãã¥ã topic branch ã§ãããªãã®ã§ã以ä¸ã®ãããªä½æ¥ããã¼ã¨ãªã git co master git co -
â [rails] Rails3ã§rails newã¨git initãã¾ã¨ãã¦è¡ãæ¹æ³ Railsã®ãã³ãã¬ã¼ãæ©è½ã使ãã 1. rails3_template.rbã¿ãããªãã¡ã¤ã«ãç¨æãã¦ãã puts "removing unneeded files..." run 'rm public/index.html' run 'rm public/favicon.ico' run 'rm public/images/rails.png' run 'rm README' run 'touch README.mkd' puts "checking everything into git..." git :init git :add => '.' git :commit => "-m 'initial commit'" puts "done." 2. $ rails new myapp -m
2012/12/13 è¿½è¨ zsh 4.3.11 以éã®æ°ããæ©è½ã使ã£ã¦æ¹è¯ãã¾ããã -> ãzsh ã® vcs_info ã«ç¬èªã®å¦çã追å ã㦠stash æ°ã¨ã push ãã¦ããªã件æ°ã¨ãä½ã§ã表示ãã - Qiitaã Git ã使ã£ã¦ãã¡ã¤ã«ãç·¨éããå ´åãããããã£ããã¤ã³ããã¯ã¹ã«è¿½å (add)ãã¦ãã®å¾ã³ãããã£ã¦ã®ãåºæ¬çãªæµãã«ãªãããªãããããããã£ã¦ãã¨ãã¡ãã㨠add ããã®ãã©ããããããªããªããã¨ãããã ããããã¨ã㯠status ã³ãã³ã使ãã°ãããã ãã©ã以åã¨ã³ããªæ¸ãã zsh ã® vcs_info ã®æ©è½ã使ãã¨ããæãã«ããã³ããã«è¡¨ç¤ºã§ããããã«ãªãã®ã§ç´¹ä»ããã zshrc ã®æ¸ãæ¹ ãããªé¢¨ã« zshrc ã«æ¸ãã¦ããã° OKã autoload -Uz add-zsh-hook autoload -Uz colors color
ãEmacsæ¬ãæ¸ãã¾ããã gitã¯ãã©ã³ããå¼·åã§ãã ãã©ã³ãã¯åãªããã¤ã³ã¿ãªã®ã§ãgitã§ã¯ãã©ã³ãã®ç©æ¥µçãªå©ç¨ãæ¨å¥¨ããã¦ãã¾ãã ãããã¯ãã©ã³ãç¹ã«ããããã¯ãã©ã³ããã¯ä¾¿å©ãªãã©ã³ãå©ç¨æ³ã§ãã ä½æ¥åã«ç¹å®ã®ä½æ¥ç¨ã®ãã©ã³ããåããç¡äºã«å®è£ ã§ãããmasterã«ãã¼ã¸ï¼ãªãã¼ã¹ï¼ãããã©ã³ããåé¤ããæ¹æ³ã§ãã ãããã¯ãã©ã³ããåããã¨ã§ãç¾å¨ã®ç®æ¨ãæ確ã«ãããã¨ãã§ãã¾ãã ã¾ããç·æ¥ã®ä¿®æ£ãããå ´åã¯ããã¦ãã«ä¸æ¦masterã«æ»ã£ã¦ä¿®æ£ããåã³ãããã¯ãã©ã³ãã§ä½æ¥ãããã¨ãã§ãã¾ãã ãããã¯ãã©ã³ãã«ã¤ãã¦ã¯ http://progit.org/book/ja/ch3-4.html ã詳ããã§ãã ãããã¯ãã©ã³ããä½æããnewtopicã¨ãããååã®ãããã¯ãã©ã³ããä½æããã«ã¯ã以ä¸ã®ã³ãã³ãã使ãã¾ãã $ git checkout -b ne
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}