{"id":7742,"date":"2016-09-14T23:08:10","date_gmt":"2016-09-14T14:08:10","guid":{"rendered":"http:\/\/nanoappli.com\/blog\/?p=7742"},"modified":"2016-09-14T23:08:10","modified_gmt":"2016-09-14T14:08:10","slug":"visual-studio-codegit-push%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84%e3%81%a8%e3%81%8d%e3%81%af-set-upstream%e3%81%8c%e5%bf%85%e8%a6%81","status":"publish","type":"post","link":"http:\/\/nanoappli.com\/blog\/archives\/7742","title":{"rendered":"[Visual Studio Code]git push\u3067\u304d\u306a\u3044\u3068\u304d\u306f&#8211;set-upstream\u304c\u5fc5\u8981"},"content":{"rendered":"<p>\n<p>Visual Studio Code\u3067\u306f\u3001git\u7ba1\u7406\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u5834\u5408Visual Studio Code\u5185\u3067git commit\u3084git push\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\u3067\u3059\u304c\u3001git\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u521d\u3081\u3066Visual Studio Code\u3067\u958b\u3044\u305f\u6642\u3001git push\u304c\u3067\u304d\u306a\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n<br \/>\n<p>\u5177\u4f53\u7684\u306b\u306f\u3001\u4e0b\u306e\u3088\u3046\u306bSync\/Pull\/Push\u304c\u30b0\u30ec\u30fc\u30a2\u30a6\u30c8\u3057\u3066\u3044\u308b\u72b6\u614b\u3067\u3059\u3002<br \/>\n<img src=\"\/blog\/wp-content\/uploads\/2016\/09\/160914_1.jpg\" alt=\"\"><\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u3001\u4e0b\u8a18\u306e\u624b\u9806\u3067\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306bPush\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><h2>\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306bPush\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u624b\u9806<\/h2><\/p>\n<p>VisualStudioCode\u4e0a\u304b\u3089\u3001Ctrl-@\u3092\u62bc\u3057\u3066\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u304d\u307e\u3059\u3002<br \/>\n<img src=\"\/blog\/wp-content\/uploads\/2016\/09\/160914_6.jpg\" alt=\"\"><\/p>\n<br \/>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n&#8211;set-upstream\u30b3\u30de\u30f3\u30c9\u3067\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea(origin)\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\nPush\u30a2\u30c3\u30d7\u3057\u305f\u3044\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u304corigin\u4ee5\u5916\u306e\u5834\u5408\u306f\u3001\u9069\u5b9c\u8aad\u307f\u66ff\u3048\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n<pre lang=\"x\">\ngit push --set-upstream origin master\n<\/pre>\n<img src=\"\/blog\/wp-content\/uploads\/2016\/09\/160914_2.jpg\" alt=\"\"><\/p>\n<p>\u3061\u306a\u307f\u306b\u4e0a\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u7d50\u679c\u306f\u3001.git\/config\u306e\u4e2d\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002\u9593\u9055\u3048\u3066\u5b9f\u884c\u3057\u3066\u3057\u307e\u3063\u305f\u5834\u5408\u306f\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5909\u66f4\u3057\u3066\u5143\u306b\u623b\u3059\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre lang=\"ini\">\n[branch \"master\"]\n\tremote = origin\n\tmerge = refs\/heads\/master\n<\/pre>\n<br \/>\n<br \/>\n<p>\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u5f8c\u3001\u518d\u5ea6Git\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u898b\u308b\u3068\u3001Sync\/Pull\/Push\u304c\u6709\u52b9\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n<img src=\"\/blog\/wp-content\/uploads\/2016\/09\/160914_3.jpg\" alt=\"\"><\/p>\n<br \/>\n<br \/>\n<p>\u30e1\u30cb\u30e5\u30fc\u3088\u308aPush\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001Git\u306e\u30a2\u30a4\u30b3\u30f3\u304c\u6642\u8a08\u30de\u30fc\u30af\u306b\u306a\u308a\u3001Push\u4f5c\u696d\u304c\u59cb\u307e\u308a\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u4e0b\u90e8\u306b\u306f\u3001\u672aPush\u304c\u3042\u308b\u4e8b\u3092\u793a\u3059\u6570\u5b57\u304c\uff11\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n<img src=\"\/blog\/wp-content\/uploads\/2016\/09\/160914_4.jpg\" alt=\"\"><\/p>\n<br \/>\n<br \/>\n<p>\u3057\u3070\u3089\u304f\u5f85\u3063\u3066Push\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u753b\u9762\u306b\u5909\u308f\u308a\u307e\u3059\u3002<br \/>\n\u6642\u8a08\u30de\u30fc\u30af\u304c\u306a\u304f\u306a\u308a\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u4e0b\u90e8\u306e\u6570\u5b57\u304c0\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n<img src=\"\/blog\/wp-content\/uploads\/2016\/09\/160914_5.jpg\" alt=\"\"><\/p>\n<p>\u3053\u308c\u3067\u3001Push\u306f\u5b8c\u4e86\u3067\u3059\u3002\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306eLog\u3092\u78ba\u8a8d\u3057\u3001\u30ed\u30fc\u30ab\u30eb\u3067\u30b3\u30df\u30c3\u30c8\u3057\u305f\u5185\u5bb9\u304c\u53cd\u6620\u3055\u308c\u3066\u3044\u308c\u3070\u6210\u529f\u3067\u3059\u3002<\/p>\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Visual Studio Code\u3067\u306f\u3001git\u7ba1\u7406\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u5834\u5408Visual Studio Code\u5185\u3067git commit\u3084git push\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u3067\u3059\u304c\u3001git\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u521d\u3081\u3066Visual Studio Code\u3067\u958b\u3044\u305f\u6642\u3001git push\u304c\u3067\u304d\u306a\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002 \u5177\u4f53\u7684\u306b\u306f\u3001\u4e0b\u306e\u3088\u3046\u306bSync\/Pull\/Push\u304c\u30b0\u30ec\u30fc\u30a2\u30a6\u30c8\u3057\u3066\u3044\u308b\u72b6\u614b\u3067\u3059\u3002 \u3053\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u3001\u4e0b\u8a18\u306e\u624b\u9806\u3067\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306bPush\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002 \u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306bPush\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u624b\u9806 VisualStudioCode\u4e0a\u304b\u3089\u3001Ctrl-@\u3092\u62bc\u3057\u3066\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[192],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":7971,"url":"http:\/\/nanoappli.com\/blog\/archives\/7971","url_meta":{"origin":7742,"position":0},"title":"[git]\u30a8\u30e9\u30fc&#8221;LF will be replaed by CRLF in&#8221;\u304c\u51fa\u308b\u3068\u304d\u3001\u7279\u5b9a\u30ea\u30dd\u30b8\u30c8\u30ea\u3060\u3051\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5","date":"2017\u5e742\u67087\u65e5","format":false,"excerpt":"git for Windows\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u3001git add\u3092\u4f7f\u7528\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001\u4e0b\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6125,"url":"http:\/\/nanoappli.com\/blog\/archives\/6125","url_meta":{"origin":7742,"position":1},"title":"SmartGit\u3092\u4f7f\u3063\u3066Android\u306e\u30bd\u30fc\u30b9\u3092\u53d6\u5f97\u3059\u308b","date":"2012\u5e7412\u670825\u65e5","format":false,"excerpt":"\u524d\u56deWindows\u7528\u306egit\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u3042\u308bSmartGit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002 Window\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/12\/20121224_49.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":6712,"url":"http:\/\/nanoappli.com\/blog\/archives\/6712","url_meta":{"origin":7742,"position":2},"title":"Windows\u304b\u3089AWS CodeCommit\u3092\u4f7f\u3046(TortoiseGit\u4f7f\u7528)","date":"2016\u5e741\u670817\u65e5","format":false,"excerpt":"AWS\u306b\u3066\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306b\u4f7f\u7528\u3067\u304d\u308bgit\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30b5\u30fc\u30d3\u30b9\u3067\u3042\u308bCodeCommit\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2016\/01\/20160115_72.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":6121,"url":"http:\/\/nanoappli.com\/blog\/archives\/6121","url_meta":{"origin":7742,"position":3},"title":"Windows\u3067GUI\u7248git\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306eSmartGit\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b","date":"2012\u5e7412\u670824\u65e5","format":false,"excerpt":"\u4eca\u307e\u3067SVN + RapidSVN\u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001Git\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u304b\u3063\u305f\u306e\u3067\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/12\/20121224_11-500x322.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":8127,"url":"http:\/\/nanoappli.com\/blog\/archives\/8127","url_meta":{"origin":7742,"position":4},"title":"\u66f8\u7c4d\u300c\u30b5\u30fc\u30d0\u30fc\u30ec\u30b9\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u300d\u3092Windows\u74b0\u5883\u3067\u5b9f\u884c\u3059\u308b(sspa\u30b3\u30de\u30f3\u30c9)","date":"2017\u5e747\u67088\u65e5","format":false,"excerpt":"\u30aa\u30e9\u30a4\u30ea\u30fc\u304b\u3089\u51fa\u7248\u3055\u308c\u3066\u3044\u308b\u66f8\u7c4d\u3001\u30b5\u30fc\u30d0\u30fc\u30ec\u30b9\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u3001\u5358\u4f53\u30c6\u30b9\u30c8\u3084\u30b5\u30fc\u30d0\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2017\/07\/20170708_1-500x269.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":6786,"url":"http:\/\/nanoappli.com\/blog\/archives\/6786","url_meta":{"origin":7742,"position":5},"title":"Window\u3067TotoiseSVN\u3060\u3051\u4f7f\u3063\u3066SVN\u30b5\u30fc\u30d0\u3092\u7528\u610f\u3059\u308b","date":"2016\u5e741\u670824\u65e5","format":false,"excerpt":"Window\u306e\u74b0\u5883\u3067\u3001TotoiseSVN\u3092\u4f7f\u7528\u3057\u3066SVN\u30b5\u30fc\u30d0\u3092\u4f5c\u3063\u3066\u307f\u307e\u3059\u3002 \u30ed\u30fc\u30ab\u30eb\u306b\u30b5\u30fc\u30d0\u74b0\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/7742"}],"collection":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/comments?post=7742"}],"version-history":[{"count":7,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/7742\/revisions"}],"predecessor-version":[{"id":7755,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/7742\/revisions\/7755"}],"wp:attachment":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/media?parent=7742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/categories?post=7742"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/tags?post=7742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}