{"id":107,"date":"2014-05-20T01:40:39","date_gmt":"2014-05-20T01:40:39","guid":{"rendered":"http:\/\/vkrastev1blog.com\/?p=107"},"modified":"2014-05-20T01:43:24","modified_gmt":"2014-05-20T01:43:24","slug":"important-git-commands","status":"publish","type":"post","link":"https:\/\/vkrastev1blog.com\/2014\/05\/20\/important-git-commands\/","title":{"rendered":"Perintah dan Tutorial Git yang penting"},"content":{"rendered":"<p>Cara mendapatkan bantuan untuk perintah Git<\/p>\n<p><em>bantuan git<\/em> [-a|&#8211;all|-i|&#8211;info|-m|&#8211;man|-w|&#8211;web] [COMMAND]<\/p>\n<p>Contoh: git bantuan git<\/p>\n<p>Ini meluncurkan browser dan menunjukkan bantuan dalam HTML.<\/p>\n<p>Menyiapkan repositori lokal dan melakukan dorongan awal:<\/p>\n<pre class=\" language-bash\"><code class=\" language-bash\">cd my_project\r\ngit init\r\ngit add <span class=\"token operator\">*<\/span>\r\ngit commit <span class=\"token operator\">-<\/span>m <span class=\"token string\">\"My initial commit message\"<\/span>\r\ngit remote add origin git@example<span class=\"token punctuation\">.<\/span>com<span class=\"token punctuation\">:<\/span>my_project<span class=\"token punctuation\">.<\/span>git\r\ngit push <span class=\"token operator\">-<\/span>u origin master<\/code><\/pre>\n<p>Repositori pembayaran<\/p>\n<pre><code>git clone git:\/\/github.com\/schacon\/grit.git<\/code><\/pre>\n<p>Untuk melakukan perubahan pada repositori lokal, cukup tambahkan, lalu lakukan. Jika Anda ingin mendorong cabang lokal\/perubahan ke repositori jarak jauh cukup lakukan perintah push di bawah ini.<\/p>\n<pre>git add --all\r\n\r\ngit commit --all\r\n\r\ngit push\r\n<\/pre>\n<p>Perintah push ke repositori<\/p>\n<pre><code>git push &lt;remote&gt; &lt;local branch name&gt;:&lt;remote branch to push into&gt;<\/code>\r\ngit push [--all | --mirror | --tags] [--follow-tags] [-n | --dry-run] [--receive-pack=]\r\n           [--repo=] [-f | --force] [--prune] [-v | --verbose] [-u | --set-upstream]\r\n           [--force-with-lease[=[:]]]\r\n           [--no-verify] [ [\u2026]]\r\n<\/pre>\n<p>Perintah lebih lanjut dapat ditemukan di tautan berikut.<\/p>\n<p>Git sehari-hari dengan 20 perintah<\/p>\n<p><a href=\"https:\/\/www.kernel.org\/pub\/software\/scm\/git\/docs\/everyday.html\" rel=\"nofollow\">https:\/\/www.kernel.org\/pub\/software\/scm\/git\/docs\/everyday.html<\/a><\/p>\n<p>Tutorial Git yang bagus<\/p>\n<p>Tutorial 1 yang pertama dibuat &#8211; <a href=\"http:\/\/git-scm.com\/docs\/gittutorial\" rel=\"nofollow\">http:\/\/git-scm.com\/docs\/gittutorial<\/a><\/p>\n<p>Tutorial pembuatan 2 detik &#8211; <a href=\"http:\/\/git-scm.com\/docs\/gittutorial-2.html\" rel=\"nofollow\">http:\/\/git-scm.com\/docs\/gittutorial-2.html<\/a><\/p>\n<p>Tutorial Lebih Lanjut &#8211; <a href=\"http:\/\/www.vogella.com\/tutorials\/Git\/article.html#firstgit_repostatus\" rel=\"nofollow\">http:\/\/www.vogella.com\/tutorials\/Git\/article.html#firstgit_repostatus<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cara mendapatkan bantuan untuk perintah Git bantuan git [-a|&#8211;all|-i|&#8211;info|-m|&#8211;man|-w|&#8211;web] [COMMAND] Contoh: git bantuan git Ini meluncurkan browser dan menunjukkan bantuan dalam HTML. Menyiapkan repositori lokal dan melakukan dorongan awal: cd my_project git init git add * git commit -m &#8220;My initial commit message&#8221; git remote add origin git@example.com:my_project.git git push -u origin master Repositori pembayaran [&hellip;]<\/p>\n","protected":false},"author":65283547,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Important Git commands and tutorials","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1017],"tags":[319,209196,29946263,32859840,81652472,19181762],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-jawa","tag-perintah","tag-git","tag-perintah-git","tag-tutorial-git","tag-cara-menggunakan-git","tag-menggunakan-git"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4CoHV-1J","jetpack-related-posts":[{"id":224,"url":"https:\/\/vkrastev1blog.com\/2022\/06\/01\/eclipse-problem-by-changing-git-password\/","url_meta":{"origin":107,"position":0},"title":"Masalah Eclipse dengan mengubah kata sandi GIT","author":"vkrastev2014","date":"01.06.2022","format":false,"excerpt":"I have had a problem by changing the GIT password in Eclipse. Eclipse could not change the password in the secure storage and I couldn't use GIT anymore. You schould do following: Eclipse go to Preferences -> General -> Security -> Secure storage and in Contents tab delete \"Default Secure\u2026","rel":"","context":"In &quot;Jawa&quot;","block_context":{"text":"Jawa","link":"https:\/\/vkrastev1blog.com\/category\/jawa\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":21,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/09\/how-to-install-testdisk-on-ubuntu-and-to-add-universe-repository\/","url_meta":{"origin":107,"position":1},"title":"Cara menginstal testdisk di Ubuntu dan menambahkan repositori universe","author":"vkrastev2014","date":"09.05.2014","format":false,"excerpt":"Execute the command in console in Ubuntu. The commands are made for \u00a0Ubuntu 12.04 LTS (Precise Pangolin). For your Ubuntu Version replace \"precise\" in these commands with your Ubuntu Version name: sudo add-apt-repository \"deb http:\/\/us.archive.ubuntu.com\/ubuntu precise universe miltiverse\" sudo add-apt-repository \"deb http:\/\/us.archive.ubuntu.com\/ubuntu precise-updates universe miltiverse\" sudo apt-get update sudo apt-get\u2026","rel":"","context":"In &quot;Yang lain&quot;","block_context":{"text":"Yang lain","link":"https:\/\/vkrastev1blog.com\/category\/yang-lain\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":19,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/09\/how-to-install-the-newest-nvidia-driver-on-ubuntu\/","url_meta":{"origin":107,"position":2},"title":"Cara install driver NVIDIA terbaru di Ubuntu","author":"vkrastev2014","date":"09.05.2014","format":false,"excerpt":"Open console window and type following commands: -------------------------------------------------------------------------------------------------------------- sudo apt-add-repository ppa:ubuntu-x-swat sudo apt-get update sudo apt-get install nvidia-current --------------------------------------------------------------------------------------------------------------- And you have the newest Driver installed.","rel":"","context":"In &quot;Yang lain&quot;","block_context":{"text":"Yang lain","link":"https:\/\/vkrastev1blog.com\/category\/yang-lain\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/09\/how-to-repair-bootloader-after-installing-ubuntu-on-preinstalled-windows-pc-als-second-operating-system\/","url_meta":{"origin":107,"position":3},"title":"Cara memperbaiki Bootloader setelah menginstal Ubuntu pada PC Windows yang sudah diinstal sebelumnya sebagai sistem operasi kedua","author":"vkrastev2014","date":"09.05.2014","format":false,"excerpt":"I used this many times as the bootloader gone corrupted after the install and it was only possible to start in Linux but not in Windows after the Linux install. So you should do following to get it right. Execute following commands in Linux: ------------------------------------------------------------------------------------- sudo add-apt-repository ppa:yannubuntu\/boot-repair sudo apt-get\u2026","rel":"","context":"In &quot;Yang lain&quot;","block_context":{"text":"Yang lain","link":"https:\/\/vkrastev1blog.com\/category\/yang-lain\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":247,"url":"https:\/\/vkrastev1blog.com\/2024\/04\/11\/how-to-create-pdf-from-html-or-image-using-java-pdfbox-framework\/","url_meta":{"origin":107,"position":4},"title":"Cara membuat PDF dari HTML atau gambar menggunakan framework java pdfbox","author":"vkrastev2014","date":"11.04.2024","format":false,"excerpt":"Following example code here: In pom.xml insert or get the jar files and add them to the java project if you don't use maven <repositories> <repository> <id>jitpack.io<\/id> <url>https:\/\/jitpack.io<\/url> <\/repository> <\/repositories> <!-- https:\/\/mvnrepository.com\/artifact\/org.apache.pdfbox\/pdfbox --> <dependency> <groupId>org.apache.pdfbox<\/groupId> <artifactId>pdfbox<\/artifactId> <version>3.0.2<\/version> <\/dependency> <!-- https:\/\/mvnrepository.com\/artifact\/com.github.hkirk\/java-html2image --> <dependency> <groupId>com.github.hkirk<\/groupId> <artifactId>java-html2image<\/artifactId> <version>0.9<\/version> <\/dependency> and Java code here\u2026","rel":"","context":"In &quot;Jawa&quot;","block_context":{"text":"Jawa","link":"https:\/\/vkrastev1blog.com\/category\/jawa\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":55,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/11\/important-shell-script-commands-which-are-oft-used\/","url_meta":{"origin":107,"position":5},"title":"Perintah skrip Shell penting yang sering digunakan","author":"vkrastev2014","date":"11.05.2014","format":false,"excerpt":"Here is a list of some important shell commands: ---- Using Screen command screen -ls -- for a list of avaliable active screens screen -x .... - the Name from -ls output to join to this active screen Go out of the Screen with 'ctrl a+d' without stopping it ----\u2026","rel":"","context":"In &quot;Yang lain&quot;","block_context":{"text":"Yang lain","link":"https:\/\/vkrastev1blog.com\/category\/yang-lain\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/users\/65283547"}],"replies":[{"embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":4,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/107\/revisions"}],"predecessor-version":[{"id":111,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/107\/revisions\/111"}],"wp:attachment":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/media?parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/categories?post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/tags?post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}