{"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":"Wichteg Git Kommandoen an Tutorials"},"content":{"rendered":"<p>W\u00e9i kritt een H\u00ebllef fir e Git Kommando<\/p>\n<p><em>gitt h\u00ebllefen<\/em> [-a|&#8211;all|-i|&#8211;info|-m|&#8211;man|-w|&#8211;web] [COMMAND]<\/p>\n<p>Beispill: git h\u00ebllefen git<\/p>\n<p>Et lanc\u00e9iert e Browser a weist eng H\u00ebllef an HTML.<\/p>\n<p>Lokale Repository opsetzen an initial Push maachen:<\/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>Checkout Repository<\/p>\n<pre><code>git clone git:\/\/github.com\/schacon\/grit.git<\/code><\/pre>\n<p>Fir \u00c4nnerungen am lokalen Repository ze engag\u00e9ieren just add\u00e9ieren, w\u00e9i engag\u00e9ieren. Wann Dir d\u00e9i lokal Branche \/ \u00c4nnerungen an de Remote Repository w\u00ebllt dr\u00e9cken, dr\u00e9ckt just de Kommando dr\u00ebnner.<\/p>\n<pre>git add --all\r\n\r\ngit commit --all\r\n\r\ngit push\r\n<\/pre>\n<p>Dr\u00e9ckt op de Repository Kommando<\/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>Weider Kommandoen fir an de folgende Linken ze fannen.<\/p>\n<p>All Dag Git mat 20 Kommandoen<\/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>Gutt Git Tutorials<\/p>\n<p>Tutorial 1 \u00e9ischt ze maachen &#8211; <a href=\"http:\/\/git-scm.com\/docs\/gittutorial\" rel=\"nofollow\">http:\/\/git-scm.com\/docs\/gittutorial<\/a><\/p>\n<p>Tutorial 2 Sekonn ze maachen &#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>Weider Tutorial &#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>W\u00e9i kritt een Help fir e Git Kommando gitt s\u00e4llen [-a|&#8211;all|-i|&#8211;info|-m|&#8211;man|-w|&#8211;web] [COMMAND] Beispill: git s\u00e4len git Et lanziert e Browser a weist eng H\u00e4lve an HTML. Lokale Repository opsetzen an initial Push fegen: 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 [&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-java","tag-commandeiert","tag-gitt","tag-git-kommandoen","tag-git-tutorial","tag-wei-git-benotzt","tag-benotzt-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":"Eclipse Problem andeems Dir GIT Passwuert \u00e4nnert","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;Java&quot;","block_context":{"text":"Java","link":"https:\/\/vkrastev1blog.com\/category\/java\/"},"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":"W\u00e9i install\u00e9iere ech Testdisk op Ubuntu a fir Universum Repository ze add\u00e9ieren","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;Anerer&quot;","block_context":{"text":"Anerer","link":"https:\/\/vkrastev1blog.com\/category\/anerer\/"},"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":"W\u00e9i install\u00e9iert de leschten NVIDIA Treiber op 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;Anerer&quot;","block_context":{"text":"Anerer","link":"https:\/\/vkrastev1blog.com\/category\/anerer\/"},"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":"W\u00e9i repar\u00e9iert de Bootloader no der Installatioun vun Ubuntu op virinstall\u00e9ierten Windows PC als zweete Betribssystem","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;Anerer&quot;","block_context":{"text":"Anerer","link":"https:\/\/vkrastev1blog.com\/category\/anerer\/"},"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":"W\u00e9i erstellen ech PDF aus HTML oder Bild mam Java pdfbox Kader","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;Java&quot;","block_context":{"text":"Java","link":"https:\/\/vkrastev1blog.com\/category\/java\/"},"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":"Wichteg Shell Skript Kommandoen d\u00e9i dacks benotzt ginn","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;Anerer&quot;","block_context":{"text":"Anerer","link":"https:\/\/vkrastev1blog.com\/category\/anerer\/"},"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}]}}