{"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":"\u092e\u0939\u0924\u094d\u0935\u092a\u0942\u0930\u094d\u0923 Git \u0915\u092e\u093e\u0902\u0921 \u0914\u0930 \u091f\u094d\u092f\u0942\u091f\u094b\u0930\u093f\u092f\u0932"},"content":{"rendered":"<p>Git \u0915\u092e\u093e\u0902\u0921 \u0915\u0947 \u0932\u093f\u090f \u0938\u0939\u093e\u092f\u0924\u093e \u0915\u0948\u0938\u0947 \u092a\u094d\u0930\u093e\u092a\u094d\u0924 \u0915\u0930\u0947\u0902<\/p>\n<p><em>\u0917\u093f\u091f \u0938\u0939\u093e\u092f\u0924\u093e<\/em> [-a|&#8211;all|-i|&#8211;info|-m|&#8211;man|-w|&#8211;web] [COMMAND]<\/p>\n<p>\u0909\u0926\u093e\u0939\u0930\u0923: \u0917\u093f\u091f \u0938\u0939\u093e\u092f\u0924\u093e \u0917\u093f\u091f<\/p>\n<p>\u092f\u0939 \u090f\u0915 \u092c\u094d\u0930\u093e\u0909\u091c\u093c\u0930 \u0932\u0949\u0928\u094d\u091a \u0915\u0930\u0924\u093e \u0939\u0948 \u0914\u0930 HTML \u092e\u0947\u0902 \u0938\u0939\u093e\u092f\u0924\u093e \u0926\u093f\u0916\u093e\u0924\u093e \u0939\u0948\u0964<\/p>\n<p>\u0938\u094d\u0925\u093e\u0928\u0940\u092f \u0930\u093f\u092a\u0949\u091c\u093f\u091f\u0930\u0940 \u0938\u094d\u0925\u093e\u092a\u093f\u0924 \u0915\u0930\u0928\u093e \u0914\u0930 \u0906\u0930\u0902\u092d\u093f\u0915 \u092a\u0941\u0936 \u092c\u0928\u093e\u0928\u093e:<\/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>\u091a\u0947\u0915\u0906\u0909\u091f \u092d\u0902\u0921\u093e\u0930<\/p>\n<pre><code>git clone git:\/\/github.com\/schacon\/grit.git<\/code><\/pre>\n<p>\u0938\u094d\u0925\u093e\u0928\u0940\u092f \u0930\u093f\u092a\u0949\u091c\u093f\u091f\u0930\u0940 \u092e\u0947\u0902 \u092c\u0926\u0932\u093e\u0935 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0915\u092e\u093f\u091f \u0915\u0930\u0928\u0947 \u0915\u0947 \u092c\u091c\u093e\u092f \u092c\u0938 \u0915\u0941\u091b \u091c\u094b\u0921\u093c\u0947\u0902\u0964 \u092f\u0926\u093f \u0906\u092a \u0938\u094d\u0925\u093e\u0928\u0940\u092f \u0936\u093e\u0916\u093e\/\u092a\u0930\u093f\u0935\u0930\u094d\u0924\u0928\u094b\u0902 \u0915\u094b \u0926\u0942\u0930\u0938\u094d\u0925 \u0930\u093f\u092a\u0949\u091c\u093f\u091f\u0930\u0940 \u092e\u0947\u0902 \u0927\u0915\u0947\u0932\u0928\u093e \u091a\u093e\u0939\u0924\u0947 \u0939\u0948\u0902 \u0924\u094b \u092c\u0938 \u0928\u0940\u091a\u0947 \u092a\u0941\u0936 \u0915\u092e\u093e\u0902\u0921 \u0915\u0930\u0947\u0902\u0964<\/p>\n<pre>git add --all\r\n\r\ngit commit --all\r\n\r\ngit push\r\n<\/pre>\n<p>\u0930\u093f\u092a\u0949\u091c\u093f\u091f\u0930\u0940 \u0915\u092e\u093e\u0902\u0921 \u092a\u0930 \u092a\u0941\u0936 \u0915\u0930\u0947\u0902<\/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>\u0906\u0917\u0947 \u0915\u0947 \u0906\u0926\u0947\u0936 \u0928\u093f\u092e\u094d\u0928\u0932\u093f\u0916\u093f\u0924 \u0932\u093f\u0902\u0915 \u092e\u0947\u0902 \u092e\u093f\u0932\u0947\u0902\u0917\u0947\u0964<\/p>\n<p>20 \u0915\u092e\u093e\u0902\u0921 \u0915\u0947 \u0938\u093e\u0925 \u0939\u0930 \u0926\u093f\u0928 Git<\/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>\u0905\u091a\u094d\u091b\u0947 \u0917\u093f\u091f \u091f\u094d\u092f\u0942\u091f\u094b\u0930\u093f\u092f\u0932<\/p>\n<p>\u0938\u092c\u0938\u0947 \u092a\u0939\u0932\u0947 \u092c\u0928\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u091f\u094d\u092f\u0942\u091f\u094b\u0930\u093f\u092f\u0932 1 &#8211; <a href=\"http:\/\/git-scm.com\/docs\/gittutorial\" rel=\"nofollow\">http:\/\/git-scm.com\/docs\/gittutorial<\/a><\/p>\n<p>\u092c\u0928\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u091f\u094d\u092f\u0942\u091f\u094b\u0930\u093f\u092f\u0932 2 \u0938\u0947\u0915\u0902\u0921 &#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>\u0906\u0917\u0947 \u0915\u093e \u091f\u094d\u092f\u0942\u091f\u094b\u0930\u093f\u092f\u0932 &#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>Git Command Support \u0915\u0947 \u0938\u093e\u0907\u0938 \u092a\u094d\u0930\u0924\u093f\u0915\u0943\u0924\u093f git support [-a|&#8211;all|-i|&#8211;info|-m|&#8211;man|-w|&#8211;web] [COMMAND] \u0909\u0926\u093e\u0939\u0930\u0923: git support git \u092f\u0939 \u090f\u0915 \u092c\u094d\u0930\u093e\u0909\u091c\u093c\u0930 \u0932\u0949\u0928\u094d\u091a \u0915\u0930\u0924\u093e \u0939\u0948 \u0914\u0930 HTML \u092e\u0947\u0902 \u0938\u092e\u0930\u094d\u0925\u0928 \u0926\u093f\u0916\u093e\u0924\u093e \u0939\u0948\u0964 \u0938\u094d\u0925\u093e\u0928\u0940\u092f \u0930\u093f\u092a\u0949\u091c\u093f\u091f\u0930\u0940 \u0938\u094d\u0925\u093e\u092a\u093f\u0924 \u0915\u0930\u0947\u0902 \u0914\u0930 \u092a\u0941\u0936 \u092a\u094d\u0930\u093e\u0930\u0902\u092d \u0915\u0930\u0947\u0902: cd my_project git init git add * git \u0915\u092e\u093f\u091f -m &#8220;\u092e\u0947\u0930\u093e \u092a\u094d\u0930\u093e\u0930\u0902\u092d\u093f\u0915 \u092a\u094d\u0930\u0924\u093f\u092c\u0926\u094d\u0927 \u0938\u0902\u0926\u0947\u0936&#8221; git \u0930\u093f\u092e\u094b\u091f \u092e\u0942\u0932 \u091c\u094b\u0921\u093c\u0947\u0902 git@example.com:my_project.git [&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-1017","tag-319","tag-209196","tag-29946263","tag-32859840","tag---2","tag-19181762"],"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":"\u091c\u0940\u0906\u0908\u091f\u0940 \u092a\u093e\u0938\u0935\u0930\u094d\u0921 \u092c\u0926\u0932\u0928\u0947 \u0938\u0947 \u0917\u094d\u0930\u0939\u0923 \u0915\u0940 \u0938\u092e\u0938\u094d\u092f\u093e","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;\u091c\u093e\u0935\u093e&quot;","block_context":{"text":"\u091c\u093e\u0935\u093e","link":"https:\/\/vkrastev1blog.com\/category\/%e0%a4%9c%e0%a4%be%e0%a4%b5%e0%a4%be\/"},"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":"\u0909\u092c\u0902\u091f\u0942 \u092a\u0930 \u091f\u0947\u0938\u094d\u091f\u0921\u093f\u0938\u094d\u0915 \u0915\u0948\u0938\u0947 \u0938\u094d\u0925\u093e\u092a\u093f\u0924 \u0915\u0930\u0947\u0902 \u0914\u0930 \u092f\u0942\u0928\u093f\u0935\u0930\u094d\u0938 \u0930\u093f\u092a\u0949\u091c\u093f\u091f\u0930\u0940 \u0915\u0948\u0938\u0947 \u091c\u094b\u0921\u093c\u0947\u0902","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;\u0905\u0928\u094d\u092f&quot;","block_context":{"text":"\u0905\u0928\u094d\u092f","link":"https:\/\/vkrastev1blog.com\/category\/%e0%a4%85%e0%a4%a8%e0%a5%8d%e0%a4%af\/"},"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":"Ubuntu \u092a\u0930 \u0928\u0935\u0940\u0928\u0924\u092e NVIDIA \u0921\u094d\u0930\u093e\u0907\u0935\u0930 \u0915\u0948\u0938\u0947 \u0938\u094d\u0925\u093e\u092a\u093f\u0924 \u0915\u0930\u0947\u0902","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;\u0905\u0928\u094d\u092f&quot;","block_context":{"text":"\u0905\u0928\u094d\u092f","link":"https:\/\/vkrastev1blog.com\/category\/%e0%a4%85%e0%a4%a8%e0%a5%8d%e0%a4%af\/"},"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":"\u0926\u0942\u0938\u0930\u0947 \u0911\u092a\u0930\u0947\u091f\u093f\u0902\u0917 \u0938\u093f\u0938\u094d\u091f\u092e \u0915\u0947 \u0930\u0942\u092a \u092e\u0947\u0902 \u092a\u094d\u0930\u0940\u0907\u0902\u0938\u094d\u091f\u0949\u0932\u094d\u0921 \u0935\u093f\u0902\u0921\u094b\u091c \u092a\u0940\u0938\u0940 \u092a\u0930 \u0909\u092c\u0902\u091f\u0942 \u0907\u0902\u0938\u094d\u091f\u0949\u0932 \u0915\u0930\u0928\u0947 \u0915\u0947 \u092c\u093e\u0926 \u092c\u0942\u091f\u0932\u094b\u0921\u0930 \u0915\u0940 \u092e\u0930\u092e\u094d\u092e\u0924 \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902","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;\u0905\u0928\u094d\u092f&quot;","block_context":{"text":"\u0905\u0928\u094d\u092f","link":"https:\/\/vkrastev1blog.com\/category\/%e0%a4%85%e0%a4%a8%e0%a5%8d%e0%a4%af\/"},"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":"\u091c\u093e\u0935\u093e \u092a\u0940\u0921\u0940\u090f\u092b\u092c\u0949\u0915\u094d\u0938 \u092b\u094d\u0930\u0947\u092e\u0935\u0930\u094d\u0915 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0915\u0947 HTML \u092f\u093e \u091b\u0935\u093f \u0938\u0947 \u092a\u0940\u0921\u0940\u090f\u092b \u0915\u0948\u0938\u0947 \u092c\u0928\u093e\u090f\u0902","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;\u091c\u093e\u0935\u093e&quot;","block_context":{"text":"\u091c\u093e\u0935\u093e","link":"https:\/\/vkrastev1blog.com\/category\/%e0%a4%9c%e0%a4%be%e0%a4%b5%e0%a4%be\/"},"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":"\u092e\u0939\u0924\u094d\u0935\u092a\u0942\u0930\u094d\u0923 \u0936\u0948\u0932 \u0938\u094d\u0915\u094d\u0930\u093f\u092a\u094d\u091f \u0915\u092e\u093e\u0902\u0921 \u091c\u094b \u0905\u0915\u094d\u0938\u0930 \u0909\u092a\u092f\u094b\u0917 \u0915\u093f\u090f \u091c\u093e\u0924\u0947 \u0939\u0948\u0902","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;\u0905\u0928\u094d\u092f&quot;","block_context":{"text":"\u0905\u0928\u094d\u092f","link":"https:\/\/vkrastev1blog.com\/category\/%e0%a4%85%e0%a4%a8%e0%a5%8d%e0%a4%af\/"},"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}]}}