Git push Error Message [remote rejected] master -> master

This is an article which is written to handle or to solve the problem generated when someone is using Git version control utility to push either files or folders to a Git repository server. The main purpose for executing ‘push command’ is for updating remote refs along with the associated objects. But eventually pushing those files or folders triggered an error message as shown in the title of this article. So, git utility is utilized to push files or folders and suddenly an error message generated : ‘[remote rejected] master->master’. Below is the actual process happened :

  1. After adding and committing files, folders exist in the folder associated or initialized for Git version control, the last action is to push it to remote Git repository. Below is the command pattern :

Continue reading “Git push Error Message [remote rejected] master -> master”

How to Grant Access to Gitlab Repository

Gitlab repository is a software built for managing git repositories in a centralized server equipped with issue tracking, wiki, etc. Holding the concept of continuous integration and continuous development, the software is quite handy and useful. In this article, there is a specific task which is very important as the first step for managing git repositories using Gitlab. That specific task is a task on how to grant access to Gitlab repository. As we already knew, files or folders are maintained in a certain repository. That specific repository where every each of them have their own rules for user whom can be permitted and for user whom is forbidden to access and perform operations on that repository. So, if a specific repository need to be accessed using a certain user, there is several things need to be done before the actual access to that specific repository can be done. Below is how to grant access to a Git repository for a certain user which is done from Gitlab Git repository management.

1. Access Gitlab Git repository management. Below is the image of Gitlab Git repository management :

How to Grant Access to Gitlab Repository

Continue reading “How to Grant Access to Gitlab Repository”

How to Perform Automatic Deployment with Git

This article will discuss the automatic deployment that can be performed using Git version control. This article itself inspired by the writing which is posted in the article titled ‘How to Set Up Automatic Deployment with Git with a VPS’ in this link.

This article will describe the scenario which is a simple scenario and based on the scenario itself, it an be developed later on to be adjusted with the real implementation of the automatic deployment according to the need and the condition associated.

The image depicting the scenario which is going to be described in this article can be shown as follows :

Continue reading “How to Perform Automatic Deployment with Git”

Push Files or Folder to FTP Server using Git

How can we push files in a local Git repository in a folder which is already associated or initiated with Git version control to a remote FTP server ?. It can be done easily by installing a specific package or utility. So, Git utility can be used to push files to an FTP Server but in this case there will be an additional package or utility which is needed to be installed.

Don’t forget to check whether or not the folder which the files or folders inside of it are going to be pushed has already been associated or initiated with Git version control. Read the following article titled ‘Setup a Git Repository via Command Line’ in this link to get more information about it. Off course the most important thing before performing setup a local Git Repository via command line is installing the Git utility itself.

Continue reading “Push Files or Folder to FTP Server using Git”

Push Files or Folders to a Git Repository

This is an article written for describing on how to push files or folders to a remote Git repository server. So, the folder or the files which is going to be operated further which is located inside the already associated or initialized folder can be pushed further and is being synchronized between the local Git repository folder with the one exist in the remote Git repository server. To be able to push files or folders to a Git repository there are few steps need to be taken before it can be executed. Below are those steps :

Continue reading “Push Files or Folders to a Git Repository”

Add Remote URL Git Repository via Command Line

This is an article which is related with the concept of Git version control using Git package or utility. In the context of this article, it is used to define remote URL via command line. To be able to achieve or to be able to do the one specified in the title of this article, there are few steps taken before the actual command executed to define remote URL via command line an be performed. But first of all, the command involving ‘git’ command to define remote URL via command line is actually shown below :

Continue reading “Add Remote URL Git Repository via Command Line”

Commit Files or Folders to Git Repository

This is an article which is written with the main description is going to discuss and explain on how to commit files or folders to a Git repository. Based on the previous article which is tightly related about how to add files or folders to a Git repository where the link is shown in this link. The title of the article itself is ‘Add Files or Folders to Git Repository‘ and it is mainly informs on how to add or to be more precise to select the files or folders which is going to be added to the index files of the Git local repository for further operation, for an instance to be operated for commit operation so the changes of the already added file can be processed on the Git local repository.

So, how can a files or folders which has been added can also be committed ?. The answer is similar with the one written in the article for adding files or folders in a Git repository. It can be specified as follows :

Continue reading “Commit Files or Folders to Git Repository”