One-dimensional contact (so-called edge contact) to monolayer 2D materials has been proposed for ultimate transistor scaling but reported on-state currents are much lower than those from top contact devices. Experiments in this work reveal that the fabrication processes for metal MoS2 contact strongly affect the electrical characteristics such as Schottky barrier height. Using in-situ 2D etching and metal deposition, we obtained Fermi-level pinning-free Ni-MoS2 edge contact transistor devices. Moreover, it reaches the highest on-state current among those TMDs edge contact devices reported in literatures and comparable to top-contact ones. First-principles calculation reveals the evolution of local electronic structure from strong metallization at the edge contact "interline"(1D equivalent of "interface") to semiconductor in the channel region. The short length (<3 nm) of metal-semiconductor transition and the low-dimensionality nature of the edge contact eliminate Fermi level pining. The pinning free edge contact formed through in-situ process enables 2D based high performance FET.