<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Amar Yadav on Medium]]></title>
        <description><![CDATA[Stories by Amar Yadav on Medium]]></description>
        <link>https://medium.com/@selenium-xpert?source=rss-38f5e5988ccf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*bDJ0_550uH001tmHpAADDg.jpeg</url>
            <title>Stories by Amar Yadav on Medium</title>
            <link>https://medium.com/@selenium-xpert?source=rss-38f5e5988ccf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 09:43:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@selenium-xpert/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Important components of a mobile application design:]]></title>
            <link>https://selenium-xpert.medium.com/important-components-of-a-mobile-application-design-a961c075bc91?source=rss-38f5e5988ccf------2</link>
            <guid isPermaLink="false">https://medium.com/p/a961c075bc91</guid>
            <category><![CDATA[mobileapplicationdevelop]]></category>
            <category><![CDATA[mobile-app-architecture]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Amar Yadav]]></dc:creator>
            <pubDate>Mon, 24 Apr 2023 09:23:16 GMT</pubDate>
            <atom:updated>2023-04-24T09:23:42.274Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Important components of a mobile application design:</strong></p><p>A complete mobile application generally consists of the following components:</p><ol><li>User Interface (UI): This includes the design and layout of the app, including screens, menus, buttons, and other interactive elements. The UI should be visually appealing, intuitive, and easy to navigate.</li><li>Backend Services: This includes the server-side components that power the app, such as databases, APIs, and web services. These services are responsible for processing data, managing user accounts, and communicating with other third-party services.</li><li>User Management: This component deals with user registration, login, and authentication. It allows users to create accounts, login to the app, and access their personal data.</li><li>Push Notifications: This component allows the app to send notifications to users even when the app is not actively running. Push notifications can be used to provide users with updates, reminders, or alerts.</li><li>In-App Purchases: This component enables users to purchase digital content or services within the app, such as premium features or subscriptions.</li><li>Analytics: This component collects data on how users interact with the app, such as how long they use the app, which features they use the most, and where they are located. This information can be used to improve the app’s performance and user experience.</li><li>Security: This component ensures that the app and user data are secure, by using encryption, authentication, and other security measures. This helps to protect against unauthorized access, data breaches, and other security threats.</li></ol><p>Overall, a complete mobile application needs to have a well-designed UI, robust backend services, user management, push notifications, in-app purchases, analytics, and security features to provide a seamless and secure user experience.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a961c075bc91" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI (Artificial Intelligence) software applications test strategy :]]></title>
            <link>https://selenium-xpert.medium.com/ai-artificial-intelligence-software-applications-test-strategy-8af5be7f9c4?source=rss-38f5e5988ccf------2</link>
            <guid isPermaLink="false">https://medium.com/p/8af5be7f9c4</guid>
            <category><![CDATA[ai-testing]]></category>
            <category><![CDATA[test-strategy]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Amar Yadav]]></dc:creator>
            <pubDate>Wed, 19 Apr 2023 09:41:49 GMT</pubDate>
            <atom:updated>2023-04-19T09:41:49.699Z</atom:updated>
            <content:encoded><![CDATA[<h3>AI (Artificial Intelligence) software applications test strategy :</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*bmC-PLU4Tb8VUSqjkvARbQ.png" /></figure><p>The test strategy for AI applications can be different from traditional software testing approaches. Here are some guidelines and best practices to develop a test strategy for AI applications:</p><ol><li>Data preparation: AI applications rely heavily on data, so it is important to ensure that the data used for testing is representative of real-world scenarios. This includes collecting, cleaning, and pre-processing data to ensure it is suitable for testing.</li><li>Testing environment: The testing environment should be similar to the production environment, including hardware, software, and network configurations. It is also important to ensure that the testing environment has the necessary computing resources to handle the data and the AI algorithms.</li><li>Test types: AI applications require a mix of manual and automated testing. Manual testing is needed to evaluate the quality of data and identify anomalies, while automated testing can be used to evaluate the performance of the AI algorithms and models.</li><li>Test scenarios: Test scenarios for AI applications should include both typical and edge cases to ensure that the AI algorithms and models perform well under various conditions. This includes testing for bias, security, and scalability.</li><li>Performance testing: AI applications can be resource-intensive, so it is important to conduct performance testing to evaluate the scalability and responsiveness of the AI algorithms and models under different loads.</li><li>Model validation: AI applications require model validation to ensure that the AI algorithms and models are reliable and accurate. This includes testing for accuracy, precision, recall, and F1-score.</li><li>User acceptance testing: User acceptance testing should be conducted to ensure that the AI applications meet the requirements of end-users and stakeholders.</li><li>Documentation: Comprehensive documentation is important for AI applications to ensure that the testing process is repeatable and transparent.</li></ol><p>These are some guidelines for developing a test strategy for AI applications. It is important to remember that the test strategy may need to be modified based on the specific needs and requirements of the AI application being tested.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8af5be7f9c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Salesforce based applications test strategy]]></title>
            <link>https://selenium-xpert.medium.com/salesforce-based-applications-test-strategy-fa5b6398a747?source=rss-38f5e5988ccf------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa5b6398a747</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[test-strategy]]></category>
            <category><![CDATA[salesforce-testing]]></category>
            <dc:creator><![CDATA[Amar Yadav]]></dc:creator>
            <pubDate>Wed, 19 Apr 2023 09:32:55 GMT</pubDate>
            <atom:updated>2023-04-19T09:32:55.359Z</atom:updated>
            <content:encoded><![CDATA[<p>The test strategy for a Salesforce project can vary depending on the project requirements, scope, and complexity. However, here are some general guidelines and best practices that can help you develop an effective test strategy:</p><ol><li>Understand the project requirements: It’s important to understand the project requirements thoroughly to determine what needs to be tested, what the acceptance criteria are, and what the expected outcomes are.</li><li>Identify the test scope: Identify the features, functions, and modules that need to be tested, and determine the testing priorities.</li><li>Define the test types: Identify the types of tests to be performed, such as functional, regression, integration, performance, security, and user acceptance testing.</li><li>Determine the test environment: Identify the environment needed for testing, including hardware, software, and network requirements.</li><li>Create the test plan: Develop a detailed test plan that includes the test objectives, test cases, test data, test procedures, and test schedule.</li><li>Choose the testing tools: Select the appropriate testing tools based on the project requirements and budget.</li><li>Implement the test plan: Execute the test plan and document the results, including any defects or issues found during testing.</li><li>Analyze the test results: Analyze the test results to identify the areas of improvement and make necessary changes to the test plan or project.</li><li>Get stakeholders’ feedback: Share the test results with the stakeholders and gather their feedback to improve the overall quality of the project.</li></ol><p>These are some general guidelines for developing a test strategy for a Salesforce project. It’s important to remember that the test strategy may need to be modified based on the project’s specific needs and requirements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa5b6398a747" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chat GPT Search]]></title>
            <link>https://selenium-xpert.medium.com/chat-gpt-search-tips-edb0f9cbb37c?source=rss-38f5e5988ccf------2</link>
            <guid isPermaLink="false">https://medium.com/p/edb0f9cbb37c</guid>
            <category><![CDATA[searchtricks]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[how-to-use-chat-gpt]]></category>
            <dc:creator><![CDATA[Amar Yadav]]></dc:creator>
            <pubDate>Fri, 31 Mar 2023 05:51:49 GMT</pubDate>
            <atom:updated>2023-03-31T05:52:44.216Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Chat GPT Search</strong></p><p>Here are some tips:</p><ol><li>Be specific: The more specific and detailed your question or request is, the better I can provide you with a relevant and useful response.</li><li>Use proper grammar and spelling: While I can understand and respond to a wide range of language inputs, using proper grammar and spelling can help me better understand what you’re asking.</li><li>Provide context: Giving me some background information about your question or topic can help me better understand what you’re looking for and provide a more accurate response.</li><li>Break up long paragraphs: If you’re providing me with a long paragraph of information, it can be helpful to break it up into smaller, more manageable chunks to make it easier for me to process.</li><li>Use natural language: You can speak to me as you would to a person, using natural language and conversational tones. I can understand a wide range of language inputs and will do my best to provide you with a helpful response.</li></ol><p>Also for more accurate response, you can use specific keywords related to your topic or question. Here are some examples of keywords you can use:</p><ul><li>Names of people, places, or things related to your question or topic</li><li>Specific dates, times, or timeframes related to your question or topic</li><li>Relevant keywords related to your topic, such as “climate change,” “machine learning,” or “personal finance”</li><li>Descriptive words that help me understand the nature of your question, such as “how to,” “why,” “what is,” or “best practices”</li><li>Phrases or questions that provide context, such as “Can you explain…?” or “What are the benefits of…?”</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=edb0f9cbb37c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Proven remedies and preventive measures for Covid-19]]></title>
            <link>https://selenium-xpert.medium.com/proven-remedies-and-preventive-measures-for-covid-19-cf81da9c9e14?source=rss-38f5e5988ccf------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf81da9c9e14</guid>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[corona]]></category>
            <category><![CDATA[covid-19-crisis]]></category>
            <category><![CDATA[covid-19-research]]></category>
            <category><![CDATA[covid-19-update]]></category>
            <dc:creator><![CDATA[Amar Yadav]]></dc:creator>
            <pubDate>Fri, 16 Apr 2021 11:28:47 GMT</pubDate>
            <atom:updated>2021-04-16T11:28:47.245Z</atom:updated>
            <content:encoded><![CDATA[<p>Dear Reader,</p><p>First of all wish you all safe and healthy life.</p><p>Now a days, we are really in such a dangerous situation where our life is at risk, earnings has gone down, unemployment has been increased…etc. Everyone is facing this bad situation that’s why people are in mental pressure and worried for their families. Therefore, here are few proven ideas to protect yourself, your families, neighbors, relatives …etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*mpZNQlKWvp0FW9knu4dygg.jpeg" /></figure><p>Read this for your covid problem, tuff situation and queries like below-</p><ol><li>How to treat corona virus at home ?</li><li>Home remedies for corona virus?</li><li>Natural remedies and the fight to treat COVID-19?</li><li>While we await Coronavirus cure, fortify your immunity with these natural remedies</li><li>How to protect yourself and others from Covid-19?</li><li>Can I really loss my life I have corona/Covid-19?</li></ol><p>Remedies and day to day activity by which you can beat corona virus. Requesting you all please follow up these remedies to protect yourself and others.</p><ol><li>Don’t take any pressure or tension whether you are Covid-19 infected or not. When you are keeping worries in your mind, it is really making you panic. When you will be panic you will really not able to do preventive measures and remedies. Please try to keep smile, positivity, motivation and optimistic in Covid situation. Smiling, positivity and motivation are moral and immunity booster always.</li><li>Kaadha/Elixation(Brew) : Please start making kaadha every morning and have it before breakfast. In the same order I would also suggest please start avoiding tea/coffee made with milk. Avoid using milk products for few days. If you don’t want to avoid then take only hot milk only. Prepare kaadha as below- <strong>King’s cumin, Ginger, Black pepper, cardamom, clove, Cinnamon and tea boil for 15–20 minutes in water, then drink it hot.</strong></li><li>Start running for 30–45 minutes daily in the open place like park, garden where have very good amount of oxygen. It would be better if you can run very early morning between 3.30–6.0 AM o’clock. When you are running, it increases the oxygen level into your body and maintains the oxygen level whole day.</li><li>Yoga: Start doing at least some important styles that will maintain oxygen level in the body like anulom-vilom, kapaal bharti.</li><li>Live in very good ventilated place only. As covid-19 is spreading very rapidly and effectively in polluted and non ventilated place. Therefore, it would be very helpful if you stay in less pollutant and ventilated area.</li><li>Instead spending much time on bed, keep walking in balcony and terrace , sitting on chair, do some house work , teach some good lesion to children…etc.</li><li>These days there are weather change as well. Therefore, some people are getting infected from viral fever. So, don’t become panic that you are infected with corona. In this situation also do the above and keep your self fit. I will not suggest for immediate medicine but if you have high fever you can take some fever pills.</li><li>Also, recommending that avoid seeing news on those channel who are showing corona news full day. These are strong sources of becoming panic and hopeless.</li></ol><p>Above are very helpful in beating covid-19. I am applying above on daily basis and some people are already recovered from corona.</p><p>Apart from that mask wearing, hand wash, sanitization and social distancing might helpful as suggested by govt.</p><blockquote>Don’t panic, become strong, keep smiling and motivated is the best way to beat corona.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf81da9c9e14" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software's project test planning and test strategy]]></title>
            <link>https://selenium-xpert.medium.com/softwares-project-test-planning-and-test-strategy-29f5148af433?source=rss-38f5e5988ccf------2</link>
            <guid isPermaLink="false">https://medium.com/p/29f5148af433</guid>
            <category><![CDATA[test-plan]]></category>
            <category><![CDATA[agile-testing]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[test-strategy]]></category>
            <dc:creator><![CDATA[Amar Yadav]]></dc:creator>
            <pubDate>Tue, 16 Feb 2021 19:35:27 GMT</pubDate>
            <atom:updated>2021-02-24T12:58:40.914Z</atom:updated>
            <content:encoded><![CDATA[<h3>Software&#39;s test planning and test strategy in agile environment</h3><p>I guess most of the QA’s have faced or going to face this question in the interviews that what will be your software test planning &amp; test strategy for a project?</p><p>While interviewing, interviewer does not specify software development approach whether it is agile or any traditional methodology. I am considering here agile as this is most preferred methodology for software development. So, here is my planning and strategy.</p><p>Please do addon if you have any solution for test planning and strategy. Also, put your questions if you have any on test planning and test strategy.</p><p><strong>Answer: </strong>As agile is iterative, time bound and rapid development process. So, we need Test plan/strategy which suits to the agile process as below-</p><p>We need to setup the test process and test scopes. In this way our priority should have continuous integration and deployment (CI &amp; CD). Continuous integration ensures checked-in code quality and continuous deployment ensures the stability of build and platform enablement for the testing. Once the build is deployed, we need to start testing activities and setup of platforms, test data preparations, environment setup, planning test techniques and deliverables…etc.</p><p>Environment setup and enablement of the platforms for the testing should be the first step. Once the platform is enabled for testing, workloads can be distributed among the QA’s manpower.</p><p>Here onward QA’s should have to accomplish each sprint work where he/she is liable to finish QA tasks (Stories validation, bug verification, test automation…etc) in sprint only. In this order, we will start designing of testcases when sprint starts if testcase is expected. Personally, I think test case designing has no sense here because already we will have requirements description, acceptance criteria, wireframes …etc in the stories.</p><p>Here, we can automate testcases when framework is designed (Framework designing is onetime activity at the beginning of project).</p><p>Once the test case designing is done, start execution in the form of automation and manual. Commit all the automation codes to run the automation suite, log all the defects into defects tracking system found from automation and manual. As a QA we need to make more attention on title, description, screenshot attachments, reproducibility, actual and expected behaviour while logging defects.</p><p>Covering functional requirement and the user experience should be the scope here.</p><p>As an exit criterion all dev done stories in the iterations should be validated, bugs should be verified and closed, automatable cases should be automated. Once QA is done on the stories should be presented for demo in sprint review meeting. And if QA is not done or development is in progress, story should go to next sprint till the completion of QA. Any new suggestion made by the stakeholders should be incorporated as separated story/task.</p><p>Above needs to be followed through-out the iterations. Once the sprint review is clear, now we can move for Regression/UAT and non-functional requirements testing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29f5148af433" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How smart developers use GIT on real-time project along with GitHub?]]></title>
            <link>https://selenium-xpert.medium.com/how-smart-developers-use-git-on-real-time-project-along-with-github-e6d5db75789f?source=rss-38f5e5988ccf------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6d5db75789f</guid>
            <category><![CDATA[best-practices]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[live-project]]></category>
            <category><![CDATA[real-time-projects]]></category>
            <dc:creator><![CDATA[Amar Yadav]]></dc:creator>
            <pubDate>Tue, 16 Jun 2020 05:16:18 GMT</pubDate>
            <atom:updated>2020-06-16T05:16:18.299Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>How smart developers use GIT with GitHub on real-time project ?</strong></p><p>Before moving on hands-on you must understand what are the areas in Git where your code moves before pushing it on remote location( e.g- GitHub). There are only four areas where your code moves before push on server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ohDYM0ufvyIr7X7Bpuz9JQ.png" /><figcaption>Git Repo Areas</figcaption></figure><p><strong>1. Working area-</strong> Working area is base area for your contents ( documents, images, videos, folders…etc) where you start writing/modifying and versioning it later on. Working area can be any folder on the system in which you add files &amp; file-system. Git don’t track these files before moving it to stage/commit area that’s why these are untracked files. See below image to closely observe working area-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*Cb3mYdspO-SsJkWK_aPvjg.png" /><figcaption>Working Area</figcaption></figure><p><strong>2. Index area- </strong>Index is the next stage in Git which comes just after the working area and before commit(repository) area. When you are done with your changes in working area and you are sure that at least these changes are stable and can commit. Now, you think at least tracking for your stable changes but not commit. Therefore, you stage your changes. Also, staging is mandatory to commit in git. Here, in this area your changes get an index for tracking that’s why it is called index area. Observe Index/Staging area below-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*b6SuC0Nh7CrTpQ9kAy1JZA.png" /><figcaption>Index/Staging Area</figcaption></figure><p><strong>3. Commit/Repository area-</strong> Repository area is next to staging area where your changes are permanently versioned. Any modifications with versioned files need commit by adding new revision. Repository area is fully responsible to keep the record of each and every change in commit. Repository area keeps the record of each and every branch &amp; commit. It internally track using blob and tree objects. To understand blob &amp; tree objects practically, check git repository that contain a hidden .git folder which is known as repository area which contain many tree(folders) and blob(files) objects. See a look on git bash after commit in pics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*1aNqY5SgVHdg5NFztG4nyw.png" /><figcaption>Repository Area</figcaption></figure><p><strong>4. Stash Area- </strong>This is the temporary storage area where you keep all you changes which you want to commit later and ignore while staging or commit. Stash area files are not shown in working, staging and repository area. Observe stash area below-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*KRk-_cLNvxcDufEwz7RzoQ.png" /><figcaption>Stash Area</figcaption></figure><p><strong>Quick look on Git commands to move changes in these areas- </strong>When you work on git either you move in such a way Working area →Index area →Repository area or vice versa.</p><p><strong>Working area→ Staging area</strong></p><p>$ git add file1 file2</p><p><strong>Staging area → Working area</strong></p><p>$git restore — staged file1 file2</p><p><strong>Staging area → Repository area</strong></p><p>$git commit -m “Add file1 &amp; file2 to repository area”</p><p><strong>Repository area →Staging area→ Working area</strong></p><p>$git checkout branch_name</p><p>I was thinking to help you on stash commands later on but suddenly changing my mind to add it here only. So you will easily understand.</p><p><strong>Add to stash from working area and staging area both-</strong></p><p>$git stash - -include-untracked</p><p><strong>Add from staging area only-</strong></p><p>$git stash save</p><p><strong>See the stashed files list-</strong></p><p>$git stash list</p><p><strong>Start working on stashed files-</strong></p><p>$git stash apply</p><p><strong>Clear stash area-</strong></p><p>$git stash clear</p><p>I hope these stash area command will help you when you will plan to work on any other project in the middle of your current project work. Now, the time to best practices hands-on that you are going to apply on your projects while developing in git. Let’s create a repository on GitHub as ‘medium-blog’. Here, the ‘medium-blog’ GitHub URL is “ <a href="https://github.com/revamar/medum-blog.git">https://github.com/revamar/medum-blog.git</a>”. Follow below steps whether you are new or expert-</p><p><strong>1.</strong>Create a folder on you local system as ‘medium-blog’. Folder name may or many not same on local from GitHub. Run below git commands on git bash. Please not that ‘$’ is bash prompt. So make sure that you are not copying ‘$’ on your git bash. <strong>Every line started with ‘$’ is git command.</strong></p><p>$mkdir medium-blog</p><p>$cd medium-blog</p><p>$ git init</p><p>Initialized empty Git repository in C:/Users/amaryadav/eclipse-workspace/medium-blog/.git/</p><p><strong><em>Note: </em></strong><em>Some time people work on bare repository (repository created without working area) which may not require in your case while working on a real-time project generally. Still if you want to initiate bare repository just run the command “git - -bare init”.</em></p><p><strong>2. </strong>Add your project stuff here in medium blog locally and start versioning</p><p>$ touch Code1 Code2 Code3</p><p>$ git add .</p><p>$ git status</p><p>On branch master</p><p>No commits yet</p><p>Changes to be committed:</p><p>(use “git rm - - cached &lt;file&gt;…” to unstage)</p><p>new file: Code1</p><p>new file: Code2</p><p>new file: Code3</p><p>$ git commit -m “Code Files commit to repository”</p><p>[master (root-commit) 543ca46] Code Files commit to repository</p><p>3 files changed, 0 insertions(+), 0 deletions(-)</p><p>create mode 100644 Code1</p><p>create mode 100644 Code2</p><p>create mode 100644 Code3</p><p><strong>3. </strong>Now, add remote repository URL to keep(push) your project on conman place. Your project on remote location allow access from anywhere regardless of platform over the internet.</p><p>$ git remote add origin <a href="https://github.com/revamar/medum-blog.git">https://github.com/revamar/medum-blog.git</a></p><p>$ git remote -v</p><p>origin <a href="https://github.com/revamar/medum-blog.git">https://github.com/revamar/medum-blog.git</a> (fetch)</p><p>origin <a href="https://github.com/revamar/medum-blog.git">https://github.com/revamar/medum-blog.git</a> (push)</p><p>$ git push -u origin master</p><p>Enumerating objects: 4, done.</p><p>Counting objects: 100% (4/4), done.</p><p>Delta compression using up to 8 threads</p><p>Compressing objects: 100% (2/2), done.</p><p>Writing objects: 100% (3/3), 300 bytes | 150.00 KiB/s, done.</p><p>Total 3 (delta 0), reused 0 (delta 0)</p><p>To <a href="https://github.com/revamar/medum-blog.git">https://github.com/revamar/medum-blog.git</a></p><p>e52b626..824fe43 master -&gt; master</p><p>Branch ‘master’ set up to track remote branch ‘master’ from ‘origin’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MC7yYNdzwGaMCqeBMuZ3sw.png" /><figcaption>Change pushed on GitHub(Remote)</figcaption></figure><p><strong><em>Note: </em></strong><em>In your case it can happen that if your remote repository is already there, then you can add your change to the repository by doing this step only. You don’t need to do first two steps. After adding remote you will be able to see two branches one is “origin/master(from local system repository)” and 2nd “remotes/origin/master( from remote system repository)”. See the branches by “ $ git branch - -all” command.</em></p><p><strong>4. </strong>Deleting/renaming in Git-</p><p>Git command provide the flexibility to delete, rename and track on from their different areas. So let’s hands-on delete command first.</p><p>$ git rm Code1</p><p>rm ‘Code1’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*utW75klMwuemiYl0AHUrZQ.png" /><figcaption>Git Delete Verify</figcaption></figure><p>$ git rm Code2 — cached</p><p>rm ‘Code2’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*8QuD5fQ-mHGN_rX-GrwXgw.png" /><figcaption>Cached Delete verify</figcaption></figure><p>$ git rm code3 -f</p><p>rm ‘code3’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*O-yRnq4HSiQRBnRe4AfV-Q.png" /><figcaption>Forced delete verify</figcaption></figure><p><strong><em>Note: </em></strong><em>Here are 3 commands to delete content where “$git rm Code1” and “git rm code3 -f” are the same which delete the content from working area and index area. And “$git rm Code2 — cached” deletes the content from index area but it is kept in working area.</em></p><p>Renaming the files in working area as</p><p>$ mv Code1 File1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*vUtGypiSeT6hTl7w3EKPMQ.png" /><figcaption>Verify renamed with git status</figcaption></figure><p>Directly rename the file in git area as</p><p>$ git mv code5 File5</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*evryMwqa89NJvOPkstZjvw.png" /><figcaption>Verify renamed file from git area</figcaption></figure><p><strong><em>Note- </em></strong><em>Every rename/delete needs commit in git for versioning whether it is deleted in repository area or working area.</em></p><p><strong>5. </strong>Managing Git branch on local and remote-</p><p><strong>Add a git branch-</strong></p><p>$ git branch development-center</p><p>When you create a branch git moves current branch ‘HEAD’ pointers to target new branch along with a copy of current files which your ‘HEAD’ pointer denotes.</p><p><strong>See the created list of branches-</strong></p><p>$ git branch</p><p>development-center</p><p>* master</p><p>Where * denotes branch in which you are.</p><p><strong>Switching/Moving to branch-</strong></p><p>$ git checkout development-center</p><p>Switched to branch ‘development-center’</p><p>D Code1</p><p>A File5</p><p>D code5</p><p><strong>Pushing branch local to remote-</strong></p><p>Above created branch “development-center” is local. Now, let make it available on remote-</p><p>$ git push origin development-center</p><p>Enumerating objects: 8, done.</p><p>Counting objects: 100% (8/8), done.</p><p>Delta compression using up to 8 threads</p><p>Compressing objects: 100% (7/7), done.</p><p>Writing objects: 100% (7/7), 715 bytes | 143.00 KiB/s, done.</p><p>Total 7 (delta 4), reused 0 (delta 0)</p><p>remote: Resolving deltas: 100% (4/4), completed with 1 local object.</p><p>remote:</p><p>remote: Create a pull request for ‘development-center’ on GitHub by visiting:</p><p>remote: <a href="https://github.com/revamar/medum-blog/pull/new/development-center">https://github.com/revamar/medum-blog/pull/new/development-center</a></p><p>remote:</p><p>To <a href="https://github.com/revamar/medum-blog.git">https://github.com/revamar/medum-blog.git</a></p><p>* [new branch] development-center -&gt; development-center</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CmE5uHnhL2I9qQgBpukebw.png" /><figcaption>Verify ‘development-center’ branch is now on remote</figcaption></figure><p>Delete a branch on local- Let’s create another ‘temporary-to-delete’ branch on local and delete it. See here branch is created-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*pVbU5nvvBh2WJKBV4Ncnhg.png" /></figure><p>$ git branch -d temporary-to-delete</p><p>Deleted branch temporary-to-delete (was e3bb4b8).</p><p><strong>Forcefully deleting a git branch -</strong></p><p>$git branch -D temporary-to-delete</p><p>Let’s suppose you want to delete your branch on remote. Just perform the below command-</p><p>$git push origin - -delete development-center</p><p>Also, you can rename the branch if you want. Move to that and run below command with new name ‘feature-branch’ -</p><p>$git branch -m feature-branch</p><p>To make renamed branch available on GitHub. You need to rename locally, push the new branch on remote and delete the old branch.</p><p><strong>6. </strong>Files from remote to local-</p><p>While working in multi-developer environment you always need to fetch the code from remote repository to local repository. So let’s keep up-to-date code on local before any commit-</p><p>$ git pull origin master</p><p>From <a href="https://github.com/revamar/medum-blog">https://github.com/revamar/medum-blog</a></p><p>* branch master -&gt; FETCH_HEAD</p><p>Already up to date.</p><p>Or</p><p>$ git fetch origin master</p><p>From <a href="https://github.com/revamar/medum-blog">https://github.com/revamar/medum-blog</a></p><p>* branch master -&gt; FETCH_HEAD</p><p>Better if you run below command to fetch from remote as best practice -</p><p>$ git pull — rebase origin master</p><p>From <a href="https://github.com/revamar/medum-blog">https://github.com/revamar/medum-blog</a></p><p>* branch master -&gt; FETCH_HEAD</p><p>Already up to date.</p><p>Current branch master is up to date.</p><p><strong>7. </strong>Git clone or instantiating another copy-</p><p>Git clone makes a copy of remote repository on local system. When you run “git clone”, the following actions occur:</p><ul><li>A new folder called ‘medium-blog’ is made</li><li>It is initialized as a Git repository</li><li>A remote named ‘origin’ is created, pointing to the URL you cloned from</li><li>All of the repository’s files and commits are downloaded there</li><li>The default branch (usually called ‘master’) is checked out</li></ul><p>Let’s hands-on “git clone” for “medium-blog” project in a different folder/hard-drive and observe the changes-</p><p>$ git clone <a href="https://github.com/revamar/medum-blog.git">https://github.com/revamar/medum-blog.git</a></p><p>Cloning into ‘medum-blog’…</p><p>remote: Enumerating objects: 15, done.</p><p>remote: Counting objects: 100% (15/15), done.</p><p>remote: Compressing objects: 100% (8/8), done.</p><p>remote: Total 15 (delta 5), reused 11 (delta 4), pack-reused 0</p><p>Unpacking objects: 100% (15/15), 1.70 KiB | 11.00 KiB/s, done.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_YgrzALFvNFMalQ_ut8viw.png" /><figcaption>Verify branches for cloned project.</figcaption></figure><p>Dear Readers,</p><p>if you start working on your ‘git’ from above things, you will be able to start your project in ‘git’ quickly and fast. There are some other things like Resolving Conflict, Rebase, Log … etc. which I will take as another blog so that the blog here does not become long and boring.</p><p>Thanks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6d5db75789f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>