nntp.perl.org: Perl Programming lists via nntp and http. Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
git-revertãgit-resetã使ã 両è ã®éãã¯ä»¥ä¸ã®éã git-revert ããç¹å®ãªãã¸ã§ã³ï¼éå»ã«commitãããã¼ã¸ã§ã³ï¼ã«æ»ãããããèªåçæãã¦ã³ããããã git-reset ããç¹å®ãªãã¸ã§ã³ï¼ryã«æ»ãï¼æ»ãããªãã¸ã§ã³ä»¥éãç¡ãã£ããã¨ã«ããï¼ ããè¤æ°ã®äººå ±åä½æ¥ãã¦ãã¦å ±æãªãã¸ããªãå¤æ´ããå ´åã¯git-resetãè¡ãã¨ã¾ãã«ã²ã©ããã¨ã«ãªãã®ã§æ¥µågit-revertã使ã£ãæ¹ããããã ä½æ¥ã®æµã git-logã§ã©ãã¾ã§æ»ãã決ããï¼ãã¨SHAãã³ãã¼ããï¼ % git log commit 46cdec49ae85012327b663531e569d77bf09b1b2 Author: amacou <amacou.abf@gmail.com> Date: Sat Jan 17 22:53:55 2009 +0900 test comm
ããã£ãã®ã§ã¡ã¢ã bash&zshã§ã·ã³ã°ã«ã¯ã©ã¼ãã®ã¨ã¹ã±ã¼ããããå ´åã¯ã¡ãã£ã¨ãããã¯ããã¯ãå¿ è¦ãããã ãã¡ãã¡ä¾ ãã¡ãã¡ãªã¨ã¹ã±ã¼ãã % echo 'tanaka\'s OS' quote>æ®å¿µãªãã'tanaka\'ã§çµãã£ã¦ãã¾ãã åé¿ããã ã¨ã¹ã±ã¼ãããã«ã¯ã¡ãã£ã¨ãããã¯ãå¿ è¦ã % echo 'tanaka'\''s OS' tanaka's OS'\''ã¨ããæå³ä¸æãªã¨ã¹ã±ã¼ããããã ä½æ ã? å解ãã¦ã¿ãã % echo 'tanaka' \' 's OS' tanaka ' s OSã·ã³ã°ã«ã¯ã©ã¼ãã®ä¸ã§\'ã¨ããã¨ã¹ã±ã¼ããåºæ¥ãªãã®ã§ãä¸æ¦æååãçµäºãã\'ãå ¥åãããä¸åº¦æååãåéããã ã¾ã¨ã ã·ã³ã°ã«ã¯ã©ã¼ãã®ã¨ã¹ã±ã¼ãã¯ããªãé¢åã shãåæ§ãªã®ã§ãã·ã§ã«ã¹ã¯ãªãããæ¸ãéã¯è¦æ³¨æã ããã«ã¯ãªã¼ããªã"tanaka's OS"ã
è¿½è¨ vimã®ãã¼ã¸ã§ã³ 7.0.237 ãã¨ãã° ï¼ï¼ãã®ç¶æ ãã ï¼ï¼ã³ã³ã¾ã§ç·¨éã㦠ï¼ï¼ããããããã¡ãããï¼ãã£ã¦ãundoã㦠ãã£ãã®ã¨ããã¾ã§æ»ã ï¼ï¼ãã§ã ã¾ããæ¸ãç´ãåãããã ãã©ã ï¼ï¼ããã£ã±ãã£ãã®ã§ãã£ã¦ããããï¼ï¼ã ã§ãundoãã¦ãã»ã»ã» ï¼ã«æ»ãããã®ã«æ»ããªãï¼ï¼ ã£ã¦ãããã¨ãæã ãªãã§ããï¼ vimãªãg+,g-ã³ãã³ãã§æ»ãã¾ããã¨ã undotree vimã¯undotreeã¨ããæ¦å¿µããããç·¨éå±¥æ´ãããªã¼ç¶ã«ç®¡çãã¦ãã¾ãã é常ã®undoãredoã§ã¯åãã¼ãã®ææ°ã®æã ãããè¡ãæ¥åºæ¥ã¾ãããã ä»»æã®ãã¼ãã«ç§»åããæ段ãç¨æããã¦ãã¾ãã ãã®ã³ãã³ããg-ã¨g+ã§ãã ãã¨ãã°ãã£ãã®ãããããg-ãæ¼ã㨠è¦äºãã®ç¶æ ã«ãã©ãã¾ãã 解説 ã©ããããã¨ãèµ·ãã¦ãã®ãã¨è¨ãã¨ä¸ã®å³ã®ãããªãã¨ãèµ·ãã¦ã¾ãã æ°åã¯åé ã®å³ã®çª
gitãµã¼ããèªå® ã®ubuntuãã·ã³ã«ç«ã¦ãã®ã§ãã®æé ãã¡ã¢ ubuntuã«gitãã¤ã³ã¹ãã¼ã« sudo apt-get install git-core ubuntuã«ãã¼ã«ã«ãªãã¸ããªãä½æ ä¸å¿ubuntuãã·ã³ã¯å®å ¨ãªãµã¼ãã§ã¯ãªããéçºãã·ã³ã¨ãã¦ã使ç¨ããã®ã§ãã¼ã«ã«ã«ãªãã¸ããªãä½æããã mkdir -p /home/amacou/repos/tstrepos cd /home/amacou/repos/tstrepos git init touch init git add . git commit -m "init" ubuntuã«å ¬éç¨ãªãã¸ããªã®ä½æ sudo mkdir /var/repos cd /var/repos git clone --bare /home/amacou/repos/tstrepos ./tstrepos.git touch tstr
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}